mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-08 21:59:10 +02:00
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: 638e40cb60
This commit is contained in:
@@ -552,6 +552,7 @@ struct PartiallySignedTransaction
|
||||
};
|
||||
|
||||
enum class PSBTRole {
|
||||
CREATOR,
|
||||
UPDATER,
|
||||
SIGNER,
|
||||
FINALIZER,
|
||||
|
||||
Reference in New Issue
Block a user