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]
template<typename Stream >
PartiallySignedTransaction::PartiallySignedTransaction |
( |
deserialize_type |
, |
|
|
Stream & |
s |
|
) |
| |
|
inline |
◆ AddInput()
bool PartiallySignedTransaction::AddInput |
( |
const CTxIn & |
txin, |
|
|
PSBTInput & |
psbtin |
|
) |
| |
◆ AddOutput()
bool PartiallySignedTransaction::AddOutput |
( |
const CTxOut & |
txout, |
|
|
const PSBTOutput & |
psbtout |
|
) |
| |
◆ 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()
template<typename Stream >
void PartiallySignedTransaction::Serialize |
( |
Stream & |
s | ) |
const |
|
inline |
◆ Unserialize()
template<typename Stream >
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: