Skip to content

BIP68: fix wrong upper bound for nHeight#2178

Open
pythcoiner wants to merge 1 commit into
bitcoin:masterfrom
pythcoiner:bip_68
Open

BIP68: fix wrong upper bound for nHeight#2178
pythcoiner wants to merge 1 commit into
bitcoin:masterfrom
pythcoiner:bip_68

Conversation

@pythcoiner
Copy link
Copy Markdown

65_535 is a valid value for nHeight, see bitcoin-core code here, here and here.

@pythcoiner
Copy link
Copy Markdown
Author

cc @darosior @hugohn

@jonatack jonatack added the Fixups Minor, clearly correct fixups that don't require BIP author review label May 28, 2026
Copy link
Copy Markdown
Member

@darosior darosior left a comment

Choose a reason for hiding this comment

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

The comment was indeed incorrect, and your change makes it matches what the snippet actually implements (nSequence & 0x0000ffff).

Comment thread bip-0068.mediawiki Outdated
Copy link
Copy Markdown
Member

@darosior darosior left a comment

Choose a reason for hiding this comment

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

ACK 6ac8c26

Copy link
Copy Markdown
Member

@murchandamus murchandamus left a comment

Choose a reason for hiding this comment

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

LGTM, will merge tomorrow unless new information suggests otherwise.

Copy link
Copy Markdown
Member

@jonatack jonatack left a comment

Choose a reason for hiding this comment

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

ACK 6ac8c26

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

Labels

Fixups Minor, clearly correct fixups that don't require BIP author review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants