Add BSMS reference and key origin info

This commit is contained in:
Robert Spigler 2021-04-26 14:55:39 -04:00 committed by GitHub
parent 4794d70c5e
commit 653b965f15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,7 +122,9 @@ Public derivation is used at this level.
==Address Discovery==
The multisig descriptors or descriptor template that is generated from the cosigners' combined key records should be used to generate and discover addresses.
The multisig descriptors or descriptor template that is generated from the cosigners' combined key records should be used to generate and discover addresses.
Please see BIP__ (Bitcoin Secure Multisig Setup) for an introduction on descriptor templates. [Waiting for merge of BSMS to link here]. The descriptor or descriptor template should contain the key origin information for maximum compatibility with BIP-0174.
For example:
@ -134,9 +136,9 @@ The following descriptor template and derivation path restrictions:
Expands to the two concrete descriptors:
<code>wsh(sortedmulti(2,[xfpForA/XY'/0'/0']XpubA/0/*,[xfpForB/XY'/0'/0']XpubB/0/*))#Checksum</code>
<code>wsh(sortedmulti(2,[xfpForA/XY'/0'/0']XpubA/0/*,[xfpForB/XY'/0'/0']XpubB/0/*))</code>
<code>wsh(sortedmulti(2,[xfpForA/XY'/0'/0']XpubA/1/*,[xfpForB/XY'/0'/0']XpubB/1/*))#Checksum</code>
<code>wsh(sortedmulti(2,[xfpForA/XY'/0'/0']XpubA/1/*,[xfpForB/XY'/0'/0']XpubB/1/*))</code>
To discover addresses, import both the receiving and change descriptors; respect the gap limit described below.
@ -268,4 +270,4 @@ Original mailing list thread: https://lists.linuxfoundation.org/pipermail/bitcoi
* [https://github.com/bitcoin/bitcoin/blob/master/doc/descriptors.md Output Descriptors]
* [[bip-0174.mediawiki|BIP174 - Partially Signed Bitcoin Transaction Format]]
* [[bip-0067.mediawiki|BIP67 - Deterministic Pay-to-script-hash multi-signature addresses through public key sorting]]
* Bitcoin Secure Multisig Setup [Waiting For Merge]