Skip to content

Commit ccc8af4

Browse files
author
Robert Spigler
authored
Address Discovery Fixes
1 parent f18ddfb commit ccc8af4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modern Hierarchy for Deterministic Multisignature Wallets.mediawiki

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,13 @@ Expands to the two concrete descriptors:
140140

141141
<code>wsh(sortedmulti(2,[xfpForA/XY'/0'/0']XpubA/1/*,[xfpForB/XY'/0'/0']XpubB/1/*))#Checksum</code>
142142

143-
To discover addresses, scan addresses of the external chain; respect the gap limit described below
143+
To discover addresses, import both the receiving and change descriptors; respect the gap limit described below.
144144

145145
Note: This therefore necessitates that multisig wallets backup their private key information and their descriptor, in order to properly restore at a later time. This shouldn't be a user burden, since (to much user surprise), all cosigner public keys need to be supplied in addition to <code>M</code> seeds in any <code>M</code> of <code>N</code> multisig restore operation. The descriptor provides this information in a standardized format, with key origin information and error detection.
146146

147147
===Address Gap Limit===
148148

149-
Address gap limit is currently set to 20. If the software hits 20 unused addresses in a row, it expects there are no used addresses beyond this point and stops searching the address chain. We scan just the external chains, because internal chains receive only coins that come from the associated external chains.
149+
Address gap limit is currently set to 20. If the software hits 20 unused addresses in a row, it expects there are no used addresses beyond this point and stops searching the address chain.
150150

151151
Wallet software should warn when the user is trying to exceed the gap limit on an external chain by generating a new address.
152152

0 commit comments

Comments
 (0)