-
Notifications
You must be signed in to change notification settings - Fork 159
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
ZIP 32: Add an Account discovery section #621
base: main
Are you sure you want to change the base?
Conversation
36bd59c
to
21d49b8
Compare
Signed-off-by: Daira Hopwood <[email protected]>
21d49b8
to
8d0b7ed
Compare
A wallet that imports a master seed from an external source SHOULD attempt to discover accounts in the | ||
following manner. |
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.
'account' is used and one can infer its meaning from context but it would be nice to have an explicit definition near the top of this document
* For :math:`m \in M`: | ||
|
||
1. Derive the external full viewing key of the account at path :math:`m / purpose' / coin\_type' / account'`. | ||
2. Scan for transactions sending to this account using the algorithm in [#protocol-scan]_. |
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.
Also scan for tx's sending from this account?
* If the wallet supports Sapling addresses, then for each address index starting from :math:`address\_index = 0`: | ||
|
||
1. Derive the external full viewing key of the Sapling address at path :math:`m_{Sapling} / purpose' / coin\_type' / \mathtt{0x7FFFFFFF}' / address\_index`. | ||
2. Scan for transactions sending to this address using the algorithm in [#protocol-scan]_. |
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.
Also scan for tx's sending from this account?
the legacy Sapling address chain. We scan just the external chains, because internal chains receive only | ||
coins that come from the associated external chains. | ||
|
||
Wallet software should warn when the user is trying to exceed the gap limit on an external chain by |
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.
Wallet software should warn when the user is trying to exceed the gap limit on an external chain by | |
Wallet software SHOULD warn when the user is trying to exceed the gap limit on an external chain by |
coins that come from the associated external chains. | ||
|
||
Wallet software should warn when the user is trying to exceed the gap limit on an external chain by | ||
generating a new address. |
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.
' or just not do it'?
No description provided.