Backport of #17524
[0.19] psbt: handle unspendable psbts #17853
pull luke-jr wants to merge 2 commits into bitcoin:0.19 from luke-jr:fix_unspendable_psbt-0.19 changing 6 files +29 −1-
luke-jr commented at 4:05 AM on January 3, 2020: member
-
551583398b
Have a PSBTAnalysis state that indicates invalid PSBT
Invalid PSBTs need to be re-created, so the next role is the Creator (new PSBTRole). Additionally, we need to know what went wrong so an error field was added to PSBTAnalysis. A PSBTAnalysis indicating invalid will have empty everything, next will be set to PSBTRole::CREATOR, and an error message. Github-Pull: #17524 Rebased-From: 638e40cb6080800c7b0a7f4028f63326acbe4700
-
ca5f8deefd
Mark PSBTs spending unspendable outputs as invalid in analysis
Github-Pull: #17524 Rebased-From: 773d4572a4864ab7b6380858d07d9579ff6dd9a2
- fanquake added the label Backport on Jan 3, 2020
- fanquake added this to the milestone 0.19.1 on Jan 3, 2020
- fanquake requested review from achow101 on Jan 3, 2020
-
achow101 commented at 4:41 PM on January 3, 2020: member
ACK ca5f8deefd778195cb10a3419d3b5c0693abb958
Diff is the same.
- fanquake referenced this in commit febf04841f on Jan 4, 2020
- fanquake merged this on Jan 4, 2020
- fanquake closed this on Jan 4, 2020
- DrahtBot locked this on Feb 15, 2022
Labels
Milestone
0.19.1