Bitcoin Core 28.99.0
P2P Digital Currency
|
#include <attributes.h>
#include <consensus/amount.h>
#include <script/script.h>
#include <serialize.h>
#include <uint256.h>
#include <util/transaction_identifier.h>
#include <cstddef>
#include <cstdint>
#include <ios>
#include <limits>
#include <memory>
#include <numeric>
#include <string>
#include <tuple>
#include <utility>
#include <vector>
Go to the source code of this file.
Classes | |
class | COutPoint |
An outpoint - a combination of a transaction hash and an index n into its vout. More... | |
class | CTxIn |
An input of a transaction. More... | |
class | CTxOut |
An output of a transaction. More... | |
struct | TransactionSerParams |
class | CTransaction |
The basic transaction that is broadcasted on the network and contained in blocks. More... | |
struct | CMutableTransaction |
A mutable version of CTransaction. More... | |
class | GenTxid |
A generic txid reference (txid or wtxid). More... | |
Typedefs | |
typedef std::shared_ptr< const CTransaction > | CTransactionRef |
Functions | |
template<typename Stream , typename TxType > | |
void | UnserializeTransaction (TxType &tx, Stream &s, const TransactionSerParams ¶ms) |
Basic transaction serialization format: More... | |
template<typename Stream , typename TxType > | |
void | SerializeTransaction (const TxType &tx, Stream &s, const TransactionSerParams ¶ms) |
template<typename TxType > | |
CAmount | CalculateOutputValue (const TxType &tx) |
template<typename Tx > | |
static CTransactionRef | MakeTransactionRef (Tx &&txIn) |
Variables | |
static constexpr TransactionSerParams | TX_WITH_WITNESS {.allow_witness = true} |
static constexpr TransactionSerParams | TX_NO_WITNESS {.allow_witness = false} |
typedef std::shared_ptr<const CTransaction> CTransactionRef |
Definition at line 423 of file transaction.h.
|
inline |
Definition at line 286 of file transaction.h.
|
inlinestatic |
Definition at line 424 of file transaction.h.
void SerializeTransaction | ( | const TxType & | tx, |
Stream & | s, | ||
const TransactionSerParams & | params | ||
) |
void UnserializeTransaction | ( | TxType & | tx, |
Stream & | s, | ||
const TransactionSerParams & | params | ||
) |
Basic transaction serialization format:
Extended transaction serialization format:
Definition at line 216 of file transaction.h.
|
staticconstexpr |
Definition at line 196 of file transaction.h.
|
staticconstexpr |
Definition at line 195 of file transaction.h.