increase maximum nonce size to make way for merged mining
authorForrest Voight <forrest@forre.st>
Sun, 31 Jul 2011 04:18:53 +0000 (00:18 -0400)
committerForrest Voight <forrest@forre.st>
Sun, 31 Jul 2011 04:18:53 +0000 (00:18 -0400)
p2pool/data.py

index 03be5a6..4382e22 100644 (file)
@@ -143,7 +143,7 @@ class Share(object):
         self.target = self.share_data['target']
         self.nonce = self.share_data['nonce']
         
-        if len(self.nonce) > 20:
+        if len(self.nonce) > 100:
             raise ValueError('nonce too long!')
         
         self.bitcoin_hash = bitcoin_data.block_header_type.hash256(header)