Fabcoin Core
0.16.2
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) | |
uint256 | GetHash () const |
Compute the hash of this CMutableTransaction. More... | |
bool | HasWitness () 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 390 of file transaction.h.
CMutableTransaction::CMutableTransaction | ( | ) |
Definition at line 58 of file transaction.cpp.
CMutableTransaction::CMutableTransaction | ( | const CTransaction & | tx | ) |
Definition at line 59 of file transaction.cpp.
|
inline |
uint256 CMutableTransaction::GetHash | ( | ) | const |
Compute the hash of this CMutableTransaction.
This is computed on the fly, as opposed to GetHash() in CTransaction, which uses a cached result.
Definition at line 61 of file transaction.cpp.
|
inline |
|
inline |
|
inline |
|
friend |
Definition at line 421 of file transaction.h.
uint32_t CMutableTransaction::nLockTime |
Definition at line 395 of file transaction.h.
int32_t CMutableTransaction::nVersion |
Definition at line 394 of file transaction.h.
std::vector<CTxIn> CMutableTransaction::vin |
Definition at line 392 of file transaction.h.
std::vector<CTxOut> CMutableTransaction::vout |
Definition at line 393 of file transaction.h.