git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
3536cc9
)
made requesting best block header retry
author
Forrest Voight
<forrest@forre.st>
Tue, 24 Jul 2012 17:53:13 +0000 (13:53 -0400)
committer
Forrest Voight
<forrest@forre.st>
Tue, 24 Jul 2012 17:54:55 +0000 (13:54 -0400)
p2pool/main.py
patch
|
blob
|
history
diff --git
a/p2pool/main.py
b/p2pool/main.py
index
9f1f065
..
3e4c138
100644
(file)
--- a/
p2pool/main.py
+++ b/
p2pool/main.py
@@
-203,7
+203,7
@@
def main(args, net, datadir_path, merged_urls, worker_endpoint):
def poll_header():
handle_header((yield factory.conn.value.get_block_header(bitcoind_work.value['previous_block'])))
bitcoind_work.changed.watch(lambda _: poll_header())
- yield poll_header()
+ yield deferral.retry('Error while requesting best block header:')(poll_header)()
# BEST SHARE