aboutsummaryrefslogtreecommitdiff
path: root/depends/funcs.mk
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-12-10 08:44:41 +0800
committerfanquake <fanquake@gmail.com>2021-12-10 09:17:35 +0800
commit09ad512369a5ff717518dfb1ed19a45097e65ad3 (patch)
treed74198f29ce88d3241402cd5537fa61ec866d3b1 /depends/funcs.mk
parent2f26d8ec703c1cfdc0d883501d7b327335e1b602 (diff)
parent5493e925013245d5ad0f7ea8784fe07f531803d0 (diff)
downloadbitcoin-09ad512369a5ff717518dfb1ed19a45097e65ad3.tar.xz
Merge bitcoin/bitcoin#23628: Check descriptors returned by external signers
5493e925013245d5ad0f7ea8784fe07f531803d0 Check descriptors returned by external signers (sstone) Pull request description: Check that descriptors returned by external signers have been parsed properly when creating a new wallet. See https://github.com/bitcoin/bitcoin/issues/23627 for context. The problem is that parsing an invalid descriptor will return `null` which is not checked for in `CWallet::SetupDescriptorScriptPubKeyMans()`. I'm not completely sure what the best fix is since there several strategies for dealing with errors in the current codebase but the proposed fix is very simple and consistent with other validation checks in `CWallet::SetupDescriptorScriptPubKeyMans()`. ACKs for top commit: jamesob: Code review ACK https://github.com/bitcoin/bitcoin/pull/23628/commits/5493e925013245d5ad0f7ea8784fe07f531803d0 achow101: ACK 5493e925013245d5ad0f7ea8784fe07f531803d0 Tree-SHA512: 63259f4aa519405a86c554b6813efdb741314bdaa18bf005b70ea8bb92a27abc6e2b65f7c584641dc257fc78a6499f42b51b5310c243e611c4663430dccf3d04
Diffstat (limited to 'depends/funcs.mk')
0 files changed, 0 insertions, 0 deletions