compute start_time, will be useful later
authorForrest Voight <forrest@forre.st>
Tue, 26 Jul 2011 00:28:01 +0000 (20:28 -0400)
committerForrest Voight <forrest@forre.st>
Tue, 26 Jul 2011 00:28:01 +0000 (20:28 -0400)
p2pool/main.py

index 5e10da7..c3d5795 100644 (file)
@@ -145,6 +145,8 @@ def main(args):
         yield set_real_work2()
         print '    ...success!'
         
+        start_time = time.time() - current_work2.value['clock_offset']
+        
         # setup p2p logic and join p2pool network
         
         def share_share(share, ignore_peer=None):