Skip to content

BIP68: fix wrong upper bound for nHeight#2178

Merged
murchandamus merged 1 commit into
bitcoin:masterfrom
pythcoiner:bip_68
May 29, 2026
Merged

BIP68: fix wrong upper bound for nHeight#2178
murchandamus merged 1 commit into
bitcoin:masterfrom
pythcoiner:bip_68

Conversation

@pythcoiner
Copy link
Copy Markdown
Contributor

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

@pythcoiner
Copy link
Copy Markdown
Contributor 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

@hugohn
Copy link
Copy Markdown
Contributor

hugohn commented May 29, 2026

ACK 6ac8c26

@murchandamus murchandamus merged commit 790c777 into bitcoin:master May 29, 2026
4 checks passed
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.

5 participants