Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

headers #81

Closed
Tracked by #73
tdelabro opened this issue Sep 19, 2024 · 3 comments · Fixed by #148
Closed
Tracked by #73

headers #81

tdelabro opened this issue Sep 19, 2024 · 3 comments · Fixed by #148
Assignees

Comments

@tdelabro
Copy link
Collaborator

No description provided.

@ptisserand
Copy link
Contributor

Hi @tdelabro can I work on this one ?

@ptisserand
Copy link
Contributor

Hi @tdelabro , I'm not sure to fully undertstand the following (from https://btcinformation.org/en/developer-reference#headers):
A headers message can be empty.

Does it mean we can have the following:
A- A message header with a payload size of 0
B- A message header with a payload size of 1 and headers.count == 0: payload will be [0x00]

I have assumed A and B but I'm not sure to be right.

Thanks for you help.

@tdelabro
Copy link
Collaborator Author

tdelabro commented Oct 2, 2024

It's B

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 a pull request may close this issue.

2 participants