69 tx4.vin[0].prevout.SetNull();
72 tx4.vin[1].prevout.SetNull();
86 tx5.vin[1].prevout.SetNull();
100 tx6.vin[1].prevout.SetNull();
105 tx6.vout[0].nValue = 10 *
COIN;
107 tx6.vout[1].nValue = 10 *
COIN;
119 tx7.vout[0].nValue = 10 *
COIN;
121 tx7.vout[1].nValue = 10 *
COIN;
CTxMemPoolEntry stores data about the corresponding transaction, as well as data about all in-mempool...
void TrimToSize(size_t sizelimit, std::vector< COutPoint > *pvNoSpendsRemaining=nullptr) EXCLUSIVE_LOCKS_REQUIRED(cs)
Remove transactions from the mempool until its dynamic size is <= sizelimit.
RecursiveMutex cs_main
Mutex to guard access to validation specific variables, such as reading or changing the chainstate.
TryAddToMempool(pool, CTxMemPoolEntry(tx, nFee, nTime, nHeight, sequence, spendsCoinbase, sigOpCost, lp))
int64_t GetVirtualTransactionSize(int64_t nWeight, int64_t nSigOpCost, unsigned int bytes_per_sigop)
Compute the virtual transaction size (weight reinterpreted as bytes).