-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update library to v2.0.3: Ready for Coinselector Algorithm Integratio…
…n and Enhanced Documentation This version updates the library to facilitate its use with external coinselector algorithms. The major change involves the library now returning the script satisfaction itself, instead of its size. This is particularly useful in scenarios where actual signatures are not available, as it allows the use of 72-byte zero-padded signatures (marked as 'DANGEROUSLY_USE_FAKE_SIGNATURES'). This feature should be utilized primarily for tx size estimation purposes and testing, and it's essential to be cautious with its application in real transactions. Key Changes: - Adapted `signatures` parameter to support 'DANGEROUSLY_USE_FAKE_SIGNATURES', enabling the generation of script satisfactions with 72-byte zero-padded signatures. - Enhanced documentation to highlight the critical role of the `signersPubKeys` parameter in miniscript-based descriptors, especially for determining spending paths in previous outputs with various spending options. - Included explicit warnings and guidance on the use of 'DANGEROUSLY_USE_FAKE_SIGNATURES' to prevent misuse in actual transaction scenarios. - Comprehensive documentation updates for improved clarity and usability, including modifications to README.md and in-code comments. These updates are designed to make the library more compatible and ready for use with coinselector algorithms, providing a more adaptable and efficient tool for Bitcoin transaction preparation and analysis. Version: 2.0.3 Author: Jose-Luis Landabaso
- Loading branch information
Showing
5 changed files
with
53 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters