Skip to content

Conversation

@ritzdorf
Copy link
Contributor

  1. str(command, 'ascii') doesn't work with python2
  2. BlockHeaders could not be sent in the headers message because they were missing a zero at the end

I realize that this is not the most elegant fix for the BlockHeaders but putting it in another place either broke the block generation or the GetHash for the BlockHeaders.

Anyway, thanks for the great library.

1. str(command, 'ascii') doesn't work with python2
2. BlockHeaders could not be sent in the headers message because they were misssing a zero at the end
@petertodd
Copy link
Owner

Can you split out that str() issue into a separate pull-req.

As for the BlockHeaders one, doesn't msg_deser() need a corresponding read? See https://github.com/bitcoin/bitcoin/blob/master/src/main.cpp#L4350

@petertodd
Copy link
Owner

Closing now that you've broken the two fixes up.

@petertodd petertodd closed this Jun 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants