![]() |
Bitcoin Core 31.1.0
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, const TransactionSerParams ¶ms, Stream &s) | |
| template<typename Stream> | |
| CMutableTransaction (deserialize_type, Stream &s) | |
| Txid | GetHash () const |
| Compute the hash of this CMutableTransaction. | |
| bool | HasWitness () const |
Public Attributes | |
| std::vector< CTxIn > | vin |
| std::vector< CTxOut > | vout |
| uint32_t | version |
| uint32_t | nLockTime |
A mutable version of CTransaction.
Definition at line 357 of file transaction.h.
|
explicit |
Definition at line 66 of file transaction.cpp.
|
explicit |
Definition at line 67 of file transaction.cpp.
|
inline |
|
inline |
| Txid 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 69 of file transaction.cpp.
|
inline |
Definition at line 392 of file transaction.h.
|
inline |
|
inline |
Definition at line 373 of file transaction.h.
| uint32_t CMutableTransaction::nLockTime |
Definition at line 362 of file transaction.h.
| uint32_t CMutableTransaction::version |
Definition at line 361 of file transaction.h.
| std::vector<CTxIn> CMutableTransaction::vin |
Definition at line 359 of file transaction.h.
| std::vector<CTxOut> CMutableTransaction::vout |
Definition at line 360 of file transaction.h.