-
Notifications
You must be signed in to change notification settings - Fork 38.7k
wallet: descriptor wallet release notes and cleanups #18787
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
bfb1ae9 to
2bc2322
Compare
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsNo conflicts as of last run. |
2bc2322 to
7a7209e
Compare
Sjors
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK 7a7209e
src/wallet/scriptpubkeyman.cpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Light preference for using desc_addr_type.value(), which looks nicer and throws an exception if there is no value (though that can't happen given the assert above).
laanwj
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for writing this. Some comments on the text (I'm not a native English speaker, so feel free to ignore them where they don't make sense).
I noticed you use the word "confusing" a lot, which sound somewhat condescending, maybe look for some synonym 😄
7a7209e to
e765271
Compare
|
re-utACK e765271 |
|
I see that you use "things" throughout the release notes, and "things" have different meaning based on context, but I couldn't find a rewrite that wasn't overly verbose, so 🤷 . Concept ACK on adding release notes. |
|
This has a silent merge conflict with #18699 |
Rebased. |
e765271 to
c6ca17e
Compare
m_address_type was used for two things: 1. Determine the type of descriptor to generate during SetupDescriptorGeneration 2. Sanity check during GetNewDestination. There is no need to have this variable to accomplish those things. 1. Add a argument to SetupDescriptorGeneration indicating the address type to use 2. Use Descriptor::GetOutputType for the sanity check.
c6ca17e to
ca2a096
Compare
|
tACK ca2a096 |
|
I have similar feelings to @MarcoFalke re:"things" language but nothing I thought of was similarly concise. If people really care they'll ask specific questions I guess. utACK ca2a096 |
|
utACK ca2a096 |
…nups ca2a096 Change SetType to SetInternal and remove m_address_type (Andrew Chow) 89b1ce1 Remove unimplemented SetCrypted from DescriptorScriptPubKeyMan (Andrew Chow) b9073c8 rpc: createwallet warning that descriptor wallets are experimental (Andrew Chow) 610030d docs: Add release notes for descriptor wallets (Andrew Chow) Pull request description: Some docs and cleanup following bitcoin#16528. * Added release notes to explain a bit of motivation for descriptor wallets, what was changed, and how users will be effected by it. Also mentions the caveats regarding multsigs and watchonly that we have discussed on IRC. * Adds a warning to `createwallet` that descriptor wallets are experimental. * Removed unused `SetCrypted` as suggestioned: bitcoin#16528 (comment) * Removed `m_address_type` as mentioned in bitcoin#18782 (comment) ACKs for top commit: Sjors: tACK ca2a096 instagibbs: utACK bitcoin@ca2a096 meshcollider: utACK ca2a096 Tree-SHA512: 987188a912c191430e5d3f89bcef54ba6773692fc2d95b16a3ec11d9007ded210466ed980a3857e8b7196beef6422f07f9c85cc157f996c02d16f4dbde2e7b2a
Summary: > rpc: createwallet warning that descriptor wallets are experimental > Remove unimplemented SetCrypted from DescriptorScriptPubKeyMan >Change SetType to SetInternal and remove m_address_type > >m_address_type was used for two things: >1. Determine the type of descriptor to generate during > SetupDescriptorGeneration >2. Sanity check during GetNewDestination. > >There is no need to have this variable to accomplish those things. >1. Add a argument to SetupDescriptorGeneration indicating the address > type to use >2. Use Descriptor::GetOutputType for the sanity check. This is a backport of Core [[bitcoin/bitcoin#18787 | PR18787]] It does not include the release notes from the original backport. Test Plan: `ninja all check-all` Reviewers: #bitcoin_abc, majcosta Reviewed By: #bitcoin_abc, majcosta Subscribers: majcosta Differential Revision: https://reviews.bitcoinabc.org/D9236
Some docs and cleanup following #16528.
createwalletthat descriptor wallets are experimental.SetCryptedas suggestioned: Native Descriptor Wallets using DescriptorScriptPubKeyMan #16528 (comment)m_address_typeas mentioned in wallet: Make sure no DescriptorScriptPubKeyMan or WalletDescriptor members are left uninitialized after construction #18782 (comment)