#include "amount.h"
#include "memusage.h"
#include "netaddress.h"
#include "optional.h"
#include "script/script.h"
#include "serialize.h"
#include "uint256.h"
#include "sapling/sapling_transaction.h"
#include <atomic>
#include <list>
Go to the source code of this file.
◆ CTransactionRef
◆ SigVersion
| Enumerator |
|---|
| SIGVERSION_BASE | |
| SIGVERSION_SAPLING | |
Definition at line 25 of file transaction.h.
◆ GetTxPayload() [1/3]
◆ GetTxPayload() [2/3]
◆ GetTxPayload() [3/3]
template<typename T >
| bool GetTxPayload |
( |
const std::vector< unsigned char > & |
payload, |
|
|
T & |
obj |
|
) |
| |
|
inline |
◆ SerializeTransaction()
template<typename Stream , typename TxType >
| void SerializeTransaction |
( |
const TxType & |
tx, |
|
|
Stream & |
s |
|
) |
| |
|
inline |
◆ SetTxPayload()
◆ UnserializeTransaction()
template<typename Stream , typename TxType >
| void UnserializeTransaction |
( |
TxType & |
tx, |
|
|
Stream & |
s |
|
) |
| |
|
inline |
Transaction serialization format:
- int32_t nVersion
- std::vector<CTxIn> vin
- std::vector<CTxOut> vout
- uint32_t nLockTime
- Optional<SaplingTxData> sapData
- Optional<std::vector<uint8_t>> extraPayload
Definition at line 208 of file transaction.h.