Bitcoin ABC 0.26.3
P2P Digital Currency
|
A mutable version of CTransaction. More...
#include <transaction.h>
Public Member Functions | |
CMutableTransaction () | |
CMutableTransaction (const CTransaction &tx) | |
template<typename Stream > | |
void | Serialize (Stream &s) const |
template<typename Stream > | |
void | Unserialize (Stream &s) |
template<typename Stream > | |
CMutableTransaction (deserialize_type, Stream &s) | |
TxId | GetId () const |
Compute the id and hash of this CMutableTransaction. | |
TxHash | GetHash () const |
Public Attributes | |
std::vector< CTxIn > | vin |
std::vector< CTxOut > | vout |
int32_t | nVersion |
uint32_t | nLockTime |
Friends | |
bool | operator== (const CMutableTransaction &a, const CMutableTransaction &b) |
A mutable version of CTransaction.
Definition at line 274 of file transaction.h.
CMutableTransaction::CMutableTransaction | ( | ) |
Definition at line 42 of file transaction.cpp.
|
explicit |
Definition at line 44 of file transaction.cpp.
|
inline |
TxHash CMutableTransaction::GetHash | ( | ) | const |
TxId CMutableTransaction::GetId | ( | ) | const |
Compute the id and hash of this CMutableTransaction.
This is computed on the fly, as opposed to GetId() and GetHash() in CTransaction, which uses a cached result.
Definition at line 52 of file transaction.cpp.
Definition at line 288 of file transaction.h.
|
friend |
Definition at line 305 of file transaction.h.
uint32_t CMutableTransaction::nLockTime |
Definition at line 279 of file transaction.h.
int32_t CMutableTransaction::nVersion |
Definition at line 278 of file transaction.h.
std::vector<CTxIn> CMutableTransaction::vin |
Definition at line 276 of file transaction.h.
std::vector<CTxOut> CMutableTransaction::vout |
Definition at line 277 of file transaction.h.