diff options
author | Andrew Chow <achow101-github@achow101.com> | 2019-07-11 16:41:25 -0400 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2020-04-23 13:59:48 -0400 |
commit | d50c8ddd4190f20bf0debd410348b73408ec3143 (patch) | |
tree | a97870c738a5022c493119208dc7c2c51c1dcfc8 /src/wallet/wallet.cpp | |
parent | f1ca5feb4ad668a3e1ae543d0addd5f483f1a88f (diff) | |
download | bitcoin-d50c8ddd4190f20bf0debd410348b73408ec3143.tar.xz |
Implement GetSolvingProvider for DescriptorScriptPubKeyMan
Internally, a GetSigningProvider function is introduced which allows for
some private keys to be optionally included. This can be called with a
script as the argument (i.e. a scriptPubKey from our wallet when we are
signing) or with a pubkey. In order to know what index to expand the
private keys for that pubkey, we need to also cache all of the pubkeys
involved when we expand the descriptor. So SetCache and TopUp are
updated to do this too.
Diffstat (limited to 'src/wallet/wallet.cpp')
0 files changed, 0 insertions, 0 deletions