closes: #27414
doc: Add example of mixing private and public keys in descriptors #28373
pull naiyoma wants to merge 1 commits into bitcoin:master from naiyoma:pr-27414 changing 1 files +12 −1-
naiyoma commented at 8:03 PM on August 30, 2023: contributor
-
DrahtBot commented at 8:03 PM on August 30, 2023: contributor
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--006a51241073e994b41acfe9ec718e94-->
Code Coverage
For detailed information about the code coverage, see the test coverage report.
<!--021abf342d371248e50ceaed478a90ca-->
Reviews
See the guideline for information on the review process.
Type Reviewers ACK achow101, alfonsoromanz Stale ACK BrandonOdiwuor If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
<!--174a7506f384e20aa4161008e828411d-->
Conflicts
No conflicts as of last run.
- DrahtBot added the label Docs on Aug 30, 2023
- naiyoma force-pushed on Aug 30, 2023
-
BrandonOdiwuor commented at 9:03 AM on September 1, 2023: contributor
ACK #9274ffd
- DrahtBot added the label CI failed on Sep 3, 2023
- DrahtBot removed the label CI failed on Sep 5, 2023
-
in doc/descriptors.md:253 in 9274ffdb94 outdated
249 | + 250 | +For example, after importing the following 2-of-3 multisig descriptor 251 | +into a wallet, one could use `signrawtransactionwithwallet` 252 | +to sign a transaction with the first key: 253 | +``` 254 | +sh(multi(2,xprv9s21Z.../84'/0'/0'/0/0,0280007cb...,033af7e98...))#lx65wk3z
Randy808 commented at 12:59 PM on September 11, 2023:nit:
xprv9s21Z...could be changed toxprv...and the following pubkey values could be changed toxpub1...,xpub2..., etc. since the exact values are unimportant here. The checksum can be omitted as well
naiyoma commented at 10:44 AM on September 20, 2023:I agree with the suggestion, is this sufficient?
sh(multi(2,xprv.../84'/0'/0'/0/0,xpub1...,xpub2...))
achow101 commented at 3:38 PM on September 26, 2023:I agree with the suggestion, is this sufficient?
sh(multi(2,xprv.../84'/0'/0'/0/0,xpub1...,xpub2...))Yes
naiyoma commented at 9:18 AM on November 10, 2023:I did make the changes suggested above
naiyoma force-pushed on Sep 29, 2023DrahtBot added the label CI failed on Sep 29, 2023maflcko requested review from BrandonOdiwuor on Nov 13, 2023DrahtBot removed the label CI failed on Nov 13, 2023BrandonOdiwuor approvedBrandonOdiwuor commented at 12:58 AM on November 17, 2023: contributorRe ACK d3f24f5bd0a84bdd893a351e7987a388a84324f3
Confirmed change since last review is the descriptor sh(multi(2,xprv.../84'/0'/0'/0/0,xpub1...,xpub2...))
fanquake assigned achow101 on Nov 17, 2023alfonsoromanz approvedalfonsoromanz commented at 7:44 PM on January 9, 2024: contributorACK
DrahtBot added the label CI failed on Jan 12, 2024doc: Add example of mixing private and public keys in descriptors 24b67fa9f6in doc/descriptors.md:255 in d3f24f5bd0 outdated
251 | +into a wallet, one could use `signrawtransactionwithwallet` 252 | +to sign a transaction with the first key: 253 | +``` 254 | +sh(multi(2,xprv.../84'/0'/0'/0/0,xpub1...,xpub2...)) 255 | +``` 256 | +Note how the first key is an xprv private key with a specific descriptor path,
achow101 commented at 2:13 PM on March 12, 2024:s/descriptor path/derivation path
Note how the first key is an xprv private key with a specific derivation path,
naiyoma commented at 1:45 PM on March 15, 2024:update 24b67fa9f602cdeac0e9736256f77d048f616c48
naiyoma force-pushed on Mar 15, 2024DrahtBot removed the label CI failed on Mar 15, 2024hernanmarino approvedachow101 commented at 6:04 PM on April 16, 2024: memberACK 24b67fa9f602cdeac0e9736256f77d048f616c48
DrahtBot requested review from BrandonOdiwuor on Apr 16, 2024DrahtBot requested review from alfonsoromanz on Apr 16, 2024alfonsoromanz approvedalfonsoromanz commented at 11:54 AM on April 17, 2024: contributorRe ACK 24b67fa9f602cdeac0e9736256f77d048f616c48
achow101 merged this on Apr 17, 2024achow101 closed this on Apr 17, 2024PastaPastaPasta referenced this in commit aa0e7ca936 on Oct 25, 2024PastaPastaPasta referenced this in commit acfdf9e438 on Oct 26, 2024PastaPastaPasta referenced this in commit f211bb9289 on Oct 27, 2024bitcoin locked this on Apr 20, 2025
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 18:13 UTC
More mirrored repositories can be found on mirror.b10c.me