git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
ae19f87
)
make high bit of nonce of old-style shares always 0 so we can estimate number of...
0.10.3
author
Forrest Voight
<forrest@forre.st>
Wed, 21 Mar 2012 23:44:42 +0000 (19:44 -0400)
committer
Forrest Voight
<forrest@forre.st>
Wed, 21 Mar 2012 23:44:42 +0000 (19:44 -0400)
p2pool/main.py
patch
|
blob
|
history
diff --git
a/p2pool/main.py
b/p2pool/main.py
index
03aa882
..
99ceb9b
100644
(file)
--- a/
p2pool/main.py
+++ b/
p2pool/main.py
@@
-536,7
+536,7
@@
def main(args, net, datadir_path, merged_urls, worker_endpoint):
share_data=dict(
previous_share_hash=current_work.value['best_share_hash'],
coinbase=(mm_data + current_work.value['coinbaseflags'])[:100],
- nonce=random.randrange(2**32),
+ nonce=random.randrange(2**31),
pubkey_hash=pubkey_hash,
subsidy=current_work2.value['subsidy'],
donation=math.perfect_round(65535*args.donation_percentage/100),