4 ms·
>Thus it's important to never re-use an address once you've spent from it and always spend the entire amount by using a newly generated change address. How doe
by HWR_14 5y ago
>Thus it's important to never re-use an address once you've spent from it and always spend the entire amount by using a newly generated change address.
How does that work? Anytime you spend coins from an address you hope you spend the exact correct amount that was already there? You pay 2x transaction fees to have to transfers - payment as one and remainder as the other and hope they both pop in the same block?
- x4e 5y agoBitcoin transactions always spend 100% of your coins, however they can have multiple outputs. So to pay for something while still retaining the change, you can have one output going towards the merchant with the required amount and one output going straight back to your own wallet with the remaining coins. Only one fee is needed and everything is within one transaction. You can also send the change to a new address instead, which is how single use wallets work. You generate a new wallet, send the change to the new wallet and replace usage of the old wallet with the new one.
- HWR_14 5y agoIf you have one wallet with 17 addresses, doesn't this defeat the whole "your entire bitcoin cache can be protected by memorizing one 12 word phrase" aspect.
- x4e 5y agoSorry for the late response. Yes, there is certainly a trade off which must be made for the increased security. Another possible way would be to use a rotatable key derivation algorithm, where you can provide the 12 word phrase plus a number n, and it will provide you a different wallet for each value of n. Of course the key derivation algorithm must be quantam secure for the security benefit to apply in this context.