5 #ifndef BITCOIN_CORE_MEMUSAGE_H 6 #define BITCOIN_CORE_MEMUSAGE_H 34 for (std::vector<CTxIn>::const_iterator
it = tx.
vin.begin();
it != tx.
vin.end();
it++) {
37 for (std::vector<CTxOut>::const_iterator
it = tx.
vout.begin();
it != tx.
vout.end();
it++) {
45 for (std::vector<CTxIn>::const_iterator
it = tx.
vin.begin();
it != tx.
vin.end();
it++) {
48 for (std::vector<CTxOut>::const_iterator
it = tx.
vout.begin();
it != tx.
vout.end();
it++) {
56 for (
const auto& tx : block.
vtx) {
71 #endif // BITCOIN_CORE_MEMUSAGE_H std::deque< CInv >::iterator it
Describes a place in the block chain to another node such that if the other node doesn't have the sam...
static size_t DynamicUsage(const int8_t &v)
Dynamic memory usage for built-in types is zero.
CScriptWitness scriptWitness
Only serialized through CTransaction.
std::vector< std::vector< unsigned char > > stack
const std::vector< CTxIn > vin
An input of a transaction.
const std::vector< CTxOut > vout
An output of a transaction.
std::vector< uint256 > vHave
An outpoint - a combination of a transaction hash and an index n into its vout.
std::vector< CTxOut > vout
std::vector< CTransactionRef > vtx
Serialized script, used inside transaction inputs and outputs.
static size_t RecursiveDynamicUsage(const CScript &script)
A mutable version of CTransaction.
The basic transaction that is broadcasted on the network and contained in blocks. ...