Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

Update to work with python-bitcoinlib 0.7.0#19

Open
str4d wants to merge 7 commits intojgarzik:masterfrom
str4d:bitcoinlib-0.7.0
Open

Update to work with python-bitcoinlib 0.7.0#19
str4d wants to merge 7 commits intojgarzik:masterfrom
str4d:bitcoinlib-0.7.0

Conversation

@str4d
Copy link
Copy Markdown

@str4d str4d commented Dec 6, 2016

Also fixes a few bugs.

Comment thread node.py
msg = msg_inv()
while height <= end_height:
hash = long(self.chaindb.height[str(height)])
hash = self.chaindb.getblockhash(height)
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm unsure what the intended behaviour was here, because previously self.chaindb.height[str(height)] could have returned a list of block hashes. For now, the new method defaults to the first hash.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant