I was just wondering since disposable addresses and sub-addresses are derived from the main wallet address.
-
"Also would having the private viewkey or spendkey of the main address affect the security of all the disposable addresses and sub-addresses?" This part is unclear to me. Can you rephrase it?– kenshi84Commented Mar 21, 2017 at 23:46
-
I will just remove that part of the question since those addresses have no keys to get affected by– samwelljCommented Mar 22, 2017 at 16:28
1 Answer
No.
Given an output pubkey P
in a new transaction with its tx pubkey being R
, you can recognize it as your incoming transfer by using your private viewkey a
, looking for P - Hs(a*R)*G
in your hashtable and finding an entry recoding the sub-address's index j
. Its private key P=x*G
is obtained as x = Hs(a*R) + b + Hs(a || j)
. So you need both of the original private view and spend keys for receiving funds transferred to sub-addresses and disposable addresses.