It was the Bitcointalk forum that inspired us to create Bitcointalksearch.org - Bitcointalk is an excellent site that should be the default page for anybody dealing in cryptocurrency, since it is a virtual gold-mine of data. However, our experience and user feedback led us create our site; Bitcointalk's search is slow, and difficult to get the results you need, because you need to log in first to find anything useful - furthermore, there are rate limiters for their search functionality.
The aim of our project is to create a faster website that yields more results and faster without having to create an account and eliminate the need to log in - your personal data, therefore, will never be in jeopardy since we are not asking for any of your data and you don't need to provide them to use our site with all of its capabilities.
We created this website with the sole purpose of users being able to search quickly and efficiently in the field of cryptocurrency so they will have access to the latest and most accurate information and thereby assisting the crypto-community at large.
from bitcoinrpc.authproxy import AuthServiceProxy, JSONRPCException
import time, os, sys
def find_between( s, first, last ):
try:
start = s.index( first ) + len( first )
end = s.index( last, start )
return s[start:end]
except ValueError:
return ""
def find_between_r( s, first, last ):
try:
start = s.rindex( first ) + len( first )
end = s.rindex( last, start )
return s[start:end]
except ValueError:
return ""
# user-config section
rpchost = '127.0.0.1'
rpcuser = ''
rpcpass = ''
rpcport = '8556'
rpcpipe = AuthServiceProxy('http://' + rpcuser + ':' + rpcpass + '@' + rpchost + ':' + rpcport)
currentblk = 0
totalcoincap = 0
while True:
currentblk=currentblk+1
#get total blocks
while True:
blocktotal = int(rpcpipe.getblockcount())
if currentblk == blocktotal:
print 'hit end of chain, waiting'
time.sleep(15)
else:
break
#request each block
blockhash = rpcpipe.getblockhash(currentblk)
blockdata = rpcpipe.getblock(blockhash)
blocktx = find_between(str(blockdata),'[',']').replace('u','').replace(' ','').replace('\'','')
blocktxlist = blocktx.split(',')
#parse all tx in block
for tx in blocktxlist:
rawtx = rpcpipe.getrawtransaction(tx)
# generated pow/pos coins have no prevout
if '0000000000000000000000000000000000000000000000000000000000000000' in rawtx:
break
#decode the 'generated/mined' tx data, extract the value
coinbasetx = rpcpipe.decoderawtransaction(rawtx)
valuemined = find_between(str(coinbasetx), 'Decimal(\'', '\'),')
#special case for nonstandard pool where coinbaseout isn't first vout
while float(valuemined)==0:
try:
valuemined = find_between_r(str(coinbasetx), 'Decimal(\'', '\'),')
except:
valuemined = 0
print '* could not find vout for block '+str(currentblk)+'!'
break
totalcoincap = totalcoincap + float(valuemined)
currentblk_fmt = str(currentblk)
while len(str(currentblk_fmt)) < 6:
currentblk_fmt=' '+currentblk_fmt
print 'block '+str(currentblk_fmt)+'|'+blockhash+'|mined '+str(round(float(valuemined),8))+'|coincap '+str(round(float(totalcoincap),8))
from bitcoinrpc.authproxy import AuthServiceProxy, JSONRPCException
import time, os, sys
def find_between( s, first, last ):
try:
start = s.index( first ) + len( first )
end = s.index( last, start )
return s[start:end]
except ValueError:
return ""
def find_between_r( s, first, last ):
try:
start = s.rindex( first ) + len( first )
end = s.rindex( last, start )
return s[start:end]
except ValueError:
return ""
# user-config section
rpchost = '127.0.0.1'
rpcuser = ''
rpcpass = ''
rpcport = '8556'
rpcpipe = AuthServiceProxy('http://' + rpcuser + ':' + rpcpass + '@' + rpchost + ':' + rpcport)
currentblk = 0
totalcoincap = 0
while True:
currentblk=currentblk+1
#get total blocks
while True:
blocktotal = int(rpcpipe.getblockcount())
if currentblk == blocktotal:
print 'hit end of chain, waiting'
time.sleep(15)
else:
break
#request each block
blockhash = rpcpipe.getblockhash(currentblk)
blockdata = rpcpipe.getblock(blockhash)
blocktx = find_between(str(blockdata),'[',']').replace('u','').replace(' ','').replace('\'','')
blocktxlist = blocktx.split(',')
#parse all tx in block
for tx in blocktxlist:
rawtx = rpcpipe.getrawtransaction(tx)
# generated pow/pos coins have no prevout
if '0000000000000000000000000000000000000000000000000000000000000000' in rawtx:
break
#decode the 'generated/mined' tx data, extract the value
coinbasetx = rpcpipe.decoderawtransaction(rawtx)
valuemined = find_between(str(coinbasetx), 'Decimal(\'', '\'),')
#special case for nonstandard pool where coinbaseout isn't first vout
while float(valuemined)==0:
try:
valuemined = find_between_r(str(coinbasetx), 'Decimal(\'', '\'),')
except:
valuemined = 0
print '* could not find vout for block '+str(currentblk)+'!'
break
totalcoincap = totalcoincap + float(valuemined)
currentblk_fmt = str(currentblk)
while len(str(currentblk_fmt)) < 6:
currentblk_fmt=' '+currentblk_fmt
print 'block '+str(currentblk_fmt)+'|'+blockhash+'|mined '+str(round(float(valuemined),8))+'|coincap '+str(round(float(totalcoincap),8))
from bitcoinrpc.authproxy import AuthServiceProxy, JSONRPCException
import time, os, sys
def find_between( s, first, last ):
try:
start = s.index( first ) + len( first )
end = s.index( last, start )
return s[start:end]
except ValueError:
return ""
def find_between_r( s, first, last ):
try:
start = s.rindex( first ) + len( first )
end = s.rindex( last, start )
return s[start:end]
except ValueError:
return ""
# user-config section
rpchost = '127.0.0.1'
rpcuser = ''
rpcpass = ''
rpcport = '8556'
rpcpipe = AuthServiceProxy('http://' + rpcuser + ':' + rpcpass + '@' + rpchost + ':' + rpcport)
currentblk = 0
totalcoincap = 0
while True:
currentblk=currentblk+1
#get total blocks
while True:
blocktotal = int(rpcpipe.getblockcount())
if currentblk == blocktotal:
print 'hit end of chain, waiting'
time.sleep(15)
else:
break
#request each block
blockhash = rpcpipe.getblockhash(currentblk)
blockdata = rpcpipe.getblock(blockhash)
blocktx = find_between(str(blockdata),'[',']').replace('u','').replace(' ','').replace('\'','')
blocktxlist = blocktx.split(',')
#parse all tx in block
for tx in blocktxlist:
rawtx = rpcpipe.getrawtransaction(tx)
# generated pow/pos coins have no prevout
if '0000000000000000000000000000000000000000000000000000000000000000' in rawtx:
break
#decode the 'generated/mined' tx data, extract the value
coinbasetx = rpcpipe.decoderawtransaction(rawtx)
valuemined = find_between(str(coinbasetx), 'Decimal(\'', '\'),')
#special case for nonstandard pool where coinbaseout isn't first vout
while float(valuemined)==0:
try:
valuemined = find_between_r(str(coinbasetx), 'Decimal(\'', '\'),')
except:
valuemined = 0
print '* could not find vout for block '+str(currentblk)+'!'
break
totalcoincap = totalcoincap + float(valuemined)
currentblk_fmt = str(currentblk)
while len(str(currentblk_fmt)) < 6:
currentblk_fmt=' '+currentblk_fmt
print 'block '+str(currentblk_fmt)+'|'+blockhash+'|mined '+str(round(float(valuemined),8))+'|coincap '+str(round(float(totalcoincap),8))