python-bitcoinlib icon indicating copy to clipboard operation
python-bitcoinlib copied to clipboard

CMerkleBlock class and wire messages

Open cpacia opened this issue 9 years ago • 3 comments

I've had this code for a while, figured I'd submit it. I've run it on the network and it has worked, but you'll definitely want to review it.

Also, to use this code, the version in the msg_version would need to be bumped and the relay boolean added.

cpacia avatar Oct 15 '16 04:10 cpacia

Awesome, thanks!

I've really busy for the rest of this week, but I should get a chance to look at this next week.

petertodd avatar Oct 16 '16 22:10 petertodd

Did you try the unit tests? Just tried them and both python2 and python3 unit tests seem to be failing with this change.

You can run them with the following command:

python -m unittest discover && python3 -m unittest discover

petertodd avatar Nov 19 '16 18:11 petertodd

I only ran the tests I added separately. Not sure why it would cause other tests to fail as no other code was modified, but I'll take a look.

cpacia avatar Nov 19 '16 19:11 cpacia