A version of CTransaction with the PSBT format.
More...
#include <psbt.h>
A version of CTransaction with the PSBT format.
Definition at line 950 of file psbt.h.
◆ PartiallySignedTransaction() [1/3]
PartiallySignedTransaction::PartiallySignedTransaction |
( |
| ) |
|
|
default |
◆ 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 69 of file psbt.cpp.
◆ GetVersion()
uint32_t PartiallySignedTransaction::GetVersion |
( |
| ) |
const |
◆ 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 24 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 |
◆ m_proprietary
◆ m_version
std::optional<uint32_t> PartiallySignedTransaction::m_version |
◆ m_xpubs
◆ 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: