git://git.novaco.in
/
electrum-nvc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
rename class
[electrum-nvc.git]
/
client
/
blocks
diff --git
a/client/blocks
b/client/blocks
index
92153b2
..
7971b1c
100755
(executable)
--- a/
client/blocks
+++ b/
client/blocks
@@
-5,7
+5,7
@@
import socket, time, interface
def cb(block_number):
print block_number
-i = interface.TCPInterface('ecdsa.org', 50001, newblock_callback=cb)
+i = interface.AsynchronousInterface('ecdsa.org', 50001, newblock_callback=cb)
i.start_session([],"blocks")
while True: