A version of CTransaction with the PSBT format.
More...
#include <psbt.h>
A version of CTransaction with the PSBT format.
Definition at line 334 of file psbt.h.
◆ PartiallySignedTransaction() [1/3]
PartiallySignedTransaction::PartiallySignedTransaction |
( |
| ) |
|
|
inline |
◆ PartiallySignedTransaction() [2/3]
◆ PartiallySignedTransaction() [3/3]
◆ AddInput()
◆ AddOutput()
◆ GetInputUTXO()
bool PartiallySignedTransaction::GetInputUTXO |
( |
CTxOut & |
utxo, |
|
|
int |
input_index |
|
) |
| const |
Finds the UTXO for a given input index.
- Parameters
-
[out] | utxo | The UTXO of the input if found |
[in] | input_index | Index of the input to retrieve the UTXO of |
- Returns
- Whether the UTXO for the specified input was found
Definition at line 57 of file psbt.cpp.
◆ IsNull()
bool PartiallySignedTransaction::IsNull |
( |
| ) |
const |
◆ Merge()
Merge psbt into this.
The two psbts must have the same underlying CTransaction (i.e. the same actual Bitcoin transaction.) Returns true if the merge succeeded, false otherwise.
Definition at line 21 of file psbt.cpp.
◆ Serialize()
void PartiallySignedTransaction::Serialize |
( |
Stream & |
s | ) |
const |
|
inline |
◆ Unserialize()
void PartiallySignedTransaction::Unserialize |
( |
Stream & |
s | ) |
|
|
inline |
◆ inputs
std::vector<PSBTInput> PartiallySignedTransaction::inputs |
◆ outputs
std::vector<PSBTOutput> PartiallySignedTransaction::outputs |
◆ tx
◆ unknown
std::map<std::vector<uint8_t>, std::vector<uint8_t> > PartiallySignedTransaction::unknown |
The documentation for this struct was generated from the following files: