diff options
Diffstat (limited to 'src/psbt.h')
-rw-r--r-- | src/psbt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/psbt.h b/src/psbt.h index e18790322b..982fb803d5 100644 --- a/src/psbt.h +++ b/src/psbt.h @@ -389,6 +389,8 @@ struct PartiallySignedTransaction * same actual Bitcoin transaction.) Returns true if the merge succeeded, false otherwise. */ NODISCARD bool Merge(const PartiallySignedTransaction& psbt); bool IsSane() const; + bool AddInput(const CTxIn& txin, PSBTInput& psbtin); + bool AddOutput(const CTxOut& txout, const PSBTOutput& psbtout); PartiallySignedTransaction() {} PartiallySignedTransaction(const PartiallySignedTransaction& psbt_in) : tx(psbt_in.tx), inputs(psbt_in.inputs), outputs(psbt_in.outputs), unknown(psbt_in.unknown) {} explicit PartiallySignedTransaction(const CMutableTransaction& tx); |