git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
65fee90
)
share nth_parent_hash skiplist algorithm between trackers for shares and verified...
author
Forrest Voight
<forrest@forre.st>
Thu, 11 Aug 2011 06:10:46 +0000 (
02:10
-0400)
committer
Forrest Voight
<forrest@forre.st>
Thu, 11 Aug 2011 06:10:46 +0000 (
02:10
-0400)
p2pool/data.py
patch
|
blob
|
history
diff --git
a/p2pool/data.py
b/p2pool/data.py
index
6471d6a
..
8073d2a
100644
(file)
--- a/
p2pool/data.py
+++ b/
p2pool/data.py
@@
-278,6
+278,7
@@
class OkayTracker(bitcoin_data.Tracker):
bitcoin_data.Tracker.__init__(self)
self.net = net
self.verified = bitcoin_data.Tracker()
+ self.verified.get_nth_parent_hash = self.get_nth_parent_hash # self is a superset of self.verified
self.get_cumulative_weights = skiplists.WeightsSkipList(self)