1
0

PROTOCOL_VERSION

This commit is contained in:
ThomasV
2012-11-06 22:20:54 +01:00
parent 8f85187545
commit 8ed812830f
3 changed files with 11 additions and 10 deletions

View File

@@ -9,9 +9,9 @@ except:
print "usage: get_history <bitcoin_address>"
sys.exit(1)
i = Interface({'server':'electrum.novit.ro:50001:t'})
i = Interface({'server':'webbtc.com:50001:t'})
i.start()
h = i.synchronous_get([ ('blockchain.address.get_history',[addr]) ])[0]
for item in h:
print item['tx_hash'], item['value']
print item['tx_hash'], item['height']