You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
keystore: derive bip86 pubkey from xpub, not from xprv
Before we used a shared helper function that computes the bip86
keypair for both getting the pubkey as well as signing, as the
priv/pubkeys get tweaked with the same tweak.
We might want to implement xpub caching to not re-derive xpubs from
the seed more than needed (e.g. when loading many inputs in a BTC
transaction), in which case we must be able to derive the bip86 pubkey
from an xpub alone, not from an xprv.
0 commit comments