diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-08-01 13:36:57 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2017-08-01 14:27:01 +0200 |
commit | f66c59650527022b4f7abd98ff0a1a4e4741bd34 (patch) | |
tree | 6b752fdb514168fded5bb3ef07ded029d1e5bc93 /src/secp256k1 | |
parent | 754aa02b8a72af0fa0a3b2bdfee1ef1b592aef6a (diff) | |
parent | e222dc2aee263bf28cf19689b9c9ed97da054682 (diff) |
Merge #10788: [RPC] Fix addwitnessaddress by replacing ismine with producesignature
e222dc2 Replace ismine with producesignature check in witnessifier (Andrew Chow)
Pull request description:
Instead of using ismine to check whether an address can be spent by us, make the witness version of the script or address first and then use ProduceSignature with the DummySignatureCreator to check if we can
solve for the script.
This is to fix cases where we don't have all of the private keys (for something like a multisig address) but have the redeemscript so we can witnessify it.
Tree-SHA512: 371777aee839cceb41f099109a13689120d35cf3880cde39216596cc2aac5cc1096af7d9cf07ad9306c3b05c073897f4518a7e97f0b88642f1e3b80b799f481e
Diffstat (limited to 'src/secp256k1')
0 files changed, 0 insertions, 0 deletions