Skip to content

Conversation

@forkfury
Copy link

@forkfury forkfury commented Nov 1, 2025

Complete the unfinished sentence about libbitcoinconsensus separation.

Complete the unfinished sentence about libbitcoinconsensus separation.
;Libbitcoinconsensus
: the existing implementation is a library that is compiled by default with Bitcoin Core master and exposes a single C function named bitcoinconsensus_verify_script(). Although it has a deterministic build and implements the most complex rules (most of the cryptography, which is itself heavily based on libsecp256k1 after #REPLACE_libsecp256k1_PR), it is still not a complete specification of the consensus rules. Since libconsensus doesn't manage the current state but only the validation of the next block given that state, it is known that this long effort of encapsulation and decoupling will eventually finish, and that the person who moves the last line
: the existing implementation is a library that is compiled by default with Bitcoin Core master and exposes a single C function named bitcoinconsensus_verify_script(). Although it has a deterministic build and implements the most complex rules (most of the cryptography, which is itself heavily based on libsecp256k1 after #REPLACE_libsecp256k1_PR), it is still not a complete specification of the consensus rules. Since libconsensus doesn't manage the current state but only the validation of the next block given that state, it is known that this long effort of encapsulation and decoupling will eventually finish, and that the person who moves the last line will complete the separation.
Copy link
Member

Choose a reason for hiding this comment

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

cc BIP author @jtimon for feedback or approval on this change.

@jonatack jonatack added Pending acceptance This BIP modification requires sign-off by the champion of the BIP being modified Typo-to-be-collected labels Nov 1, 2025
@jonatack jonatack changed the title fix: complete incomplete sentence in BIP-99 Libbitcoinconsensus definition BIP99: finish incomplete sentence in Libbitcoinconsensus definition Nov 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Pending acceptance This BIP modification requires sign-off by the champion of the BIP being modified Typo-to-be-collected

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants