BitBoxSwiss / bitbox02-firmware

Firmware code of the BitBox02 hardware wallet
https://bitbox.swiss/bitbox02
Apache License 2.0
217 stars 81 forks source link

keystore: use xpubs instead of xprvs where possible #1026

Closed benma closed 1 year ago

benma commented 1 year ago

Functionally the same, but for clarity it is better to use xpubs where only pubkeys are involved. This will also make it easier to add xpub caching to increase performance if needed (for example, xpubs are derived anew for each BTC transaction input and change).