5#ifndef BITCOIN_CORE_MEMUSAGE_H
6#define BITCOIN_CORE_MEMUSAGE_H
32 for (std::vector<CTxIn>::const_iterator it = tx.vin.begin();
33 it != tx.vin.end(); it++) {
36 for (std::vector<CTxOut>::const_iterator it = tx.vout.begin();
37 it != tx.vout.end(); it++) {
46 for (std::vector<CTxIn>::const_iterator it = tx.
vin.begin();
47 it != tx.
vin.end(); it++) {
50 for (std::vector<CTxOut>::const_iterator it = tx.
vout.begin();
51 it != tx.
vout.end(); it++) {
A mutable version of CTransaction.
std::vector< CTxOut > vout
An output of a transaction.
Implements a drop-in replacement for std::vector<T> which stores up to N elements directly (without h...
static size_t RecursiveDynamicUsage(const CScript &script)
static size_t DynamicUsage(const int8_t &v)
Dynamic memory usage for built-in types is zero.