Skip to content

bip461: update status to Complete - #2365

Merged
murchandamus merged 1 commit into
masterfrom
2026-11-update-BIP-461-status
Nov 30, 2026
Merged

murchandamus merged 1 commit into
masterfrom
2026-11-update-BIP-461-status

Conversation

@jonatack

@jonatack jonatack commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Released in Bitcoin Core v0.17.0 (PR #13666) in 2018, IIUC.

@jonatack jonatack added the Metadata Update Changes to Changelog or Preamble without changing the technical content of a BIP. label Nov 24, 2026
@jonatack

Copy link
Copy Markdown
Member Author

cc BIP author @liamgilligan for sign-off

@liamgilligan

Copy link
Copy Markdown
Contributor

Sounds good @jonatack

@liamgilligan

Copy link
Copy Markdown
Contributor

On second look, I'm not sure if it should be deployed. Core implements the algorithm but I haven't seen them use any of the test vectors. I'm not sure if that is required, but if it is perhaps we should hold off.

dunlapjschool-gif

This comment was marked as off-topic.

@edilmedeiros

Copy link
Copy Markdown
Contributor

On second look, I'm not sure if it should be deployed. Core implements the algorithm but I haven't seen them use any of the test vectors. I'm not sure if that is required, but if it is perhaps we should hold off.

I've put a clanker to look for use in other projects and will get back to this later. In the meanwhile, do you think it would be better moved to Complete?

When the authors have concluded all planned work on their proposal, are confident that their BIP represents a net improvement, is clear, comprehensive, and is ready for adoption by the Bitcoin community, they may update the BIP’s status to Complete to indicate that they recommend adoption, implementation, or deployment of the BIP. Where applicable, the authors must ensure that any proposed specification is solid, not unduly complicated, and definitive. Specification BIPs must come with or refer to a working reference implementation and comprehensive test vectors before they can be moved to Complete. Subsequently, the BIP’s content should only be adjusted in minor details, e.g., to improve language, clarify ambiguities, backfill omissions in the specification, add test vectors for edge cases, or address other issues discovered as the BIP is being adopted.

@liamgilligan

Copy link
Copy Markdown
Contributor

Complete should definitely be fine.

@murchandamus

Copy link
Copy Markdown
Member

@liamgilligan: Do I remember right that there was a subtle discrepancy between what you propose here and what Bitcoin Core has implemented, or should this Specification match exactly? If the former, I’d say Complete would be viable, if the latter, I would support Deployed.

@liamgilligan

Copy link
Copy Markdown
Contributor

@murchandamus there is a difference. Secp will reject high-s signatures, which are rejected by relay policy despite being valid on-chain. The specification here will accept high-s signatures when verifying, but will never produce them.

Released in Bitcoin Core v0.17.0 (#13666) in 2018.
@jonatack
jonatack force-pushed the 2026-11-update-BIP-461-status branch from de029ec to 133212e Compare November 30, 2026 23:20
@jonatack jonatack changed the title bip461: update status to Deployed bip461: update status to Complete Nov 30, 2026
@jonatack

Copy link
Copy Markdown
Member Author

Updated to Complete per review feedback (thanks!)

@murchandamus murchandamus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Complete sounds good to me.

ACK

@murchandamus
murchandamus merged commit 8455d73 into master Nov 30, 2026
8 checks passed
@jonatack
jonatack deleted the 2026-11-update-BIP-461-status branch December 1, 2026 00:27
@edilmedeiros

Copy link
Copy Markdown
Contributor

@murchandamus there is a difference. Secp will reject high-s signatures, which are rejected by relay policy despite being valid on-chain. The specification here will accept high-s signatures when verifying, but will never produce them.

That's technically correct, but Bitcoin Core normalizes the signature prior to verifying. Since the grinding loop also happens in Core's code, not in secp's, this is probably fine, isn't it?

I checked Core v32.1 passes all the test vectors in BIP461 with this (Macos specific, will probably need some adaptation to run on linux).

Checked rust-bitcoin ecosystem. Grinding looks the same but verification but verify will just pass the raw signature to libsecp that will reject it. Didn't run the test vectors on this.

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

Labels

Metadata Update Changes to Changelog or Preamble without changing the technical content of a BIP.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants