[DRAFT] Clean up outdated signing code#301
Closed
ValuedMammal wants to merge 1 commit intobitcoindevkit:masterfrom
Closed
[DRAFT] Clean up outdated signing code#301ValuedMammal wants to merge 1 commit intobitcoindevkit:masterfrom
ValuedMammal wants to merge 1 commit intobitcoindevkit:masterfrom
Conversation
Changed
- descriptor: Changed `ExtractPolicy` trait by removing signers param
- removed sign_options param from `Wallet::finalize_psbt`
- export: `FullyNodedExport` no longer exports private keys
Removed Wallet APIs
- `set_keymap{s}`
- `get_signers`
- `add_signer`
- `sign`
Pull Request Test Coverage Report for Build 17101740297Details
💛 - Coveralls |
Contributor
|
There isn't much difference from what's done in #235 and oleonardolima@e9f6b0a, except for the removal of the signers module (which I kept initially to maintain wallet tests, rather than using To make the upgrade for our users more straightforward and with a specific path, I think we should first deprecate the signing APIs (and possibly the policy too) in a forthcoming release and then remove them by #235 or this one. |
Member
Collaborator
Author
|
I'll leave this on a separate branch for now and we can continue discussion on #235. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changed
ExtractPolicytrait by removing signers paramWallet::finalize_psbtFullyNodedExportno longer exports private keysRemoved Wallet APIs
set_keymap{s}get_signersadd_signersignTODO
keymap,extract_keys)