git://git.novaco.in
/
p2pool.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
72ccd50
)
Revert "added block header sanity check"
author
Forrest Voight
<forrest.voight@gmail.com>
Fri, 16 Dec 2011 04:13:29 +0000 (23:13 -0500)
committer
Forrest Voight
<forrest.voight@gmail.com>
Fri, 16 Dec 2011 04:13:29 +0000 (23:13 -0500)
This reverts commit
1861ce91aafea62675e2e93129eaa5f79352d1c1
, which broke litecoin support.
p2pool/bitcoin/p2p.py
patch
|
blob
|
history
diff --git
a/p2pool/bitcoin/p2p.py
b/p2pool/bitcoin/p2p.py
index
7cc149e
..
a6392e7
100644
(file)
--- a/
p2pool/bitcoin/p2p.py
+++ b/
p2pool/bitcoin/p2p.py
@@
-294,7
+294,6
@@
class HeaderWrapper(object):
@classmethod
def from_header(cls, header):
- assert bitcoin_data.block_header_type.hash256(header) <= header['target']
return cls(bitcoin_data.block_header_type.hash256(header), header['previous_block'])
def __init__(self, hash, previous_hash):