slowly send blocks
authorforrest <forrest@470744a7-cac9-478e-843e-5ec1b25c69e8>
Mon, 13 Jun 2011 04:49:59 +0000 (04:49 +0000)
committerforrest <forrest@470744a7-cac9-478e-843e-5ec1b25c69e8>
Mon, 13 Jun 2011 04:49:59 +0000 (04:49 +0000)
git-svn-id: svn://forre.st/p2pool@1273 470744a7-cac9-478e-843e-5ec1b25c69e8

main.py

diff --git a/main.py b/main.py
index ba74e29..f7ca460 100644 (file)
--- a/main.py
+++ b/main.py
@@ -426,8 +426,8 @@ def main():
                 contact.block(bitcoin_p2p.block.pack(block))
                 yield util.sleep(.05)
         
-        def getBlocksCallback(chain_id, contact):
-            getBlocksCallback2(chain_id, contact)
+        def getBlocksCallback(chain_id, highest, contact):
+            getBlocksCallback2(chain_id, highest, contact)
         
         port = random.randrange(49152, 65536) if args.p2pool_port is None else args.p2pool_port
         print 'Joining p2pool network using UDP port %i...' % (port,)