git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
2c77cb7
)
increase maximum nonce size to make way for merged mining
author
Forrest Voight
<forrest@forre.st>
Sun, 31 Jul 2011 04:18:53 +0000 (
00:18
-0400)
committer
Forrest Voight
<forrest@forre.st>
Sun, 31 Jul 2011 04:18:53 +0000 (
00:18
-0400)
p2pool/data.py
patch
|
blob
|
history
diff --git
a/p2pool/data.py
b/p2pool/data.py
index
03be5a6
..
4382e22
100644
(file)
--- a/
p2pool/data.py
+++ b/
p2pool/data.py
@@
-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)