Update subaddress.md

m is not the private view key of the subaddress. All subaddresses in a wallet share the same private view key. See https://www.reddit.com/r/Monero/comments/gy0m1u/i_made_an_infographic_on_how_a_monero_wallet_is/ft9olbo/
This commit is contained in:
knaccc 2020-06-07 15:58:45 +01:00 committed by GitHub
parent a47aef67a6
commit c02be155e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,7 @@ Instead, they are used as input to generating subaddress keys.
### Private view key ### Private view key
The subaddress private view key `m` is derived as follows: A per-subaddress scalar `m` is derived as follows:
m = Hs("SubAddr" || a || account_index || subaddress_index_within_account) m = Hs("SubAddr" || a || account_index || subaddress_index_within_account)
@ -91,7 +91,7 @@ The subaddress public spend key `D` is derived as follows:
Where: Where:
* `B` is standard address public spend key * `B` is standard address public spend key
* `m` is subaddress private view key * `m` is a per-subaddress scalar that is derived from the private spend key
* `G` is the "base point"; this is simply a constant specific to [edwards25519](/cryptography/asymmetric/edwards25519) * `G` is the "base point"; this is simply a constant specific to [edwards25519](/cryptography/asymmetric/edwards25519)
### Public view key ### Public view key