#include <psbt.h>
A version of CTransaction with the PSBT format
◆ PartiallySignedTransaction() [1/4]
PartiallySignedTransaction::PartiallySignedTransaction |
( |
| ) |
|
|
inline |
◆ PartiallySignedTransaction() [2/4]
◆ PartiallySignedTransaction() [3/4]
◆ PartiallySignedTransaction() [4/4]
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
◆ IsNull()
bool PartiallySignedTransaction::IsNull |
( |
| ) |
const |
◆ IsSane()
bool PartiallySignedTransaction::IsSane |
( |
| ) |
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.
◆ 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<unsigned char>, std::vector<unsigned char> > PartiallySignedTransaction::unknown |
The documentation for this struct was generated from the following files: