Skip to content

Commit 453d328

Browse files
author
Robert Spigler
authored
Grammar/formatting
1 parent 1361af2 commit 453d328

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

Modern Hierarchy for Deterministic Multisignature Wallets.mediawiki

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,18 +124,16 @@ Public derivation is used at this level.
124124

125125
==Address Discovery==
126126

127-
The multisig descriptor that is generated from the cosigners combined key records should be used to generate and discover addresses. For example:
127+
The multisig descriptor that is generated from the cosigners' combined key records should be used to generate and discover addresses. For example:
128128
<code>wsh(sortedmulti(2,[xfpForA/XY'/0'/0']XpubA/*,[xfpForB/XY'/0'/0']XpubB/*))#Checksum</code>
129129

130130
# Derive the wallet's first account's node (index = 0)
131131
# Derive the external chain node of this account (index = 0)
132132
# Scan addresses of the external chain; respect the gap limit described below
133-
# If there are some transactions, increase the account index and go to step 2
134-
# If no transactions are found on the external chain, continue to search the following account indexes in compliance with the account gap limit described below.
133+
# If there are some transactions, increase the account index and go to Step 2
134+
# If no transactions are found on the external chain, continue to search the following account indices in compliance with the account gap limit described below.
135135
136-
Please note that the algorithm works with the transaction history, not account
137-
balances, so you can have an account with 0 total coins and the algorithm will
138-
still continue with discovery.
136+
Please note that the algorithm works with the transaction history, not account balances, so you can have an account with 0 total coins and the algorithm will still continue with discovery.
139137

140138
The wallet implementation should scan the accounts and addresses following the parent descriptor string.
141139

@@ -147,7 +145,7 @@ Wallet software should warn when the user is trying to exceed the gap limit on a
147145

148146
===Account Gap Limit===
149147

150-
Account gap limit is currently set to 5. When the software hits an account that contains 20 unused addresses in a row, it will search the the next 4 accounts (while obeying the address gap limit), before stoping discovery. If any transactions are found during this process, discovery is restarted (after finding 20 unused addresses) on the next account index, and the account gap limit is reset. Only when the address gap limit is found consecutively for the account gap limit is discovery stopped.
148+
Account gap limit is currently set to 5. When the software hits an account that contains 20 unused addresses in a row, it will search the next 4 accounts (while obeying the address gap limit), before stopping discovery. If any transactions are found during this process, discovery is restarted (after finding 20 unused addresses) on the next account index, and the account gap limit is reset. Only when the address gap limit is found consecutively for the account gap limit is discovery stopped.
151149

152150
==Rationale==
153151

0 commit comments

Comments
 (0)