From: Steve Myers Date: Wed, 6 Jul 2022 17:45:54 +0000 (-0700) Subject: Merge bitcoindevkit/bdk#621: Add remove_partial_sigs and try_finalize to SignOptions X-Git-Tag: 0.20.0~7 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/primitives/decode/struct.CodeLengthError.html?a=commitdiff_plain;h=dd5138052006737b9d8450d9f2d743c5400342d4;p=bdk Merge bitcoindevkit/bdk#621: Add remove_partial_sigs and try_finalize to SignOptions e3a17f67d90f11d1d1a27a98ec97674c8cd3d2f7 add try_finalize to SignOptions (KaFai Choi) c2e4ba8cbd77f1a41d269b621b0001d042c1ea57 add remove_partial_sigs to SignOptions (KaFai Choi) Pull request description: ### Description This PR is to add 2 keys(`try_finalize` and `remove_partial_sigs`) in `SignOptions`. See this issue for detail https://github.com/bitcoindevkit/bdk/issues/612 ### Notes to the reviewers ~I found the negative naming of these 2 new keys `do_not_finalize` and `do_not_remove_partial_sigs` are a bit confusing(like most negative named paremeter/variable). Should we actually change it back to positive naming(`do_finalize` and `do_remove_partial_sigs`)?~ ### Checklists #### All Submissions: * [x] I've signed all my commits * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md) * [x] I ran `cargo fmt` and `cargo clippy` before committing #### New Features: * [x] I've added tests for the new feature * [x] I've added docs for the new feature * [x] I've updated `CHANGELOG.md` #### Bugfixes: * [ ] This pull request breaks the existing API * [ ] I've added tests to reproduce the issue which are now passing * [ ] I'm linking the issue being fixed by this PR ACKs for top commit: notmandatory: ReACK e3a17f67d90f11d1d1a27a98ec97674c8cd3d2f7 Tree-SHA512: 781b31d3ecf0bcd605206c0481fd5de3125f1c8ff18a463dbf4c821e5557847f7d70a3fe8618e100fb89f4f6899655ac0efa3593f77f915ad5bcb7e558bb2a7a --- dd5138052006737b9d8450d9f2d743c5400342d4