misc changes in work generation
authoralexhz <balthazar@yandex.ru>
Wed, 13 Mar 2013 18:18:24 +0000 (18:18 +0000)
committeralexhz <balthazar@yandex.ru>
Wed, 13 Mar 2013 18:18:24 +0000 (18:18 +0000)
p2pool/work.py

index d61045f..5095e4c 100644 (file)
@@ -97,7 +97,7 @@ class WorkerBridge(worker_interface.WorkerBridge):
                     bits=self.node.pow_bits, # not always true
                     coinbaseflags='',
                     height=t['height'] + 1,
-                    time=bb['timestamp'] + 600, # better way?
+                    time=t['time'] + 5, # better way?
                     transactions=[],
                     transaction_fees=[],
                     merkle_link=bitcoin_data.calculate_merkle_link([None], 0),