Skip to content

Require exactly 80 bytes for block header creation - #20

Merged
stringintech merged 1 commit into
mainfrom
adapt-header-preconditions
Nov 20, 2026
Merged

stringintech merged 1 commit into
mainfrom
adapt-header-preconditions

Conversation

@stringintech

Copy link
Copy Markdown
Owner

btck_block_header_create now asserts a non-null, exactly 80-byte input (bitcoin/bitcoin#35312), so drop the empty and short-input cases.
Add shared Hex160String/Hex160StringResponse and use them for header create and to_bytes.

btck_block_header_create now asserts a non-null, exactly 80-byte input (bitcoin/bitcoin#35312), so drop the empty and short-input cases. Add
shared Hex160String/Hex160StringResponse and use them for header
create and to_bytes.
@stringintech
stringintech merged commit 5055b24 into main Nov 20, 2026
4 checks passed
@stringintech
stringintech deleted the adapt-header-preconditions branch November 20, 2026 13:25
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.

1 participant