24 coins_view.
AddCoin(outpoint, std::move(new_coin),
false);
CCoinsView that adds a memory cache for transactions to another CCoinsView.
void AddCoin(const COutPoint &outpoint, Coin &&coin, bool possible_overwrite)
Add a coin.
An outpoint - a combination of a transaction hash and an index n into its vout.
CTxOut out
unspent transaction output
uint32_t nHeight
at which height this containing transaction was included in the active block chain
void assign(size_type n, const T &val)
COutPoint AddTestCoin(CCoinsViewCache &coins_view)
Create a Coin with DynamicMemoryUsage of 80 bytes and add it to the given view.
static CAmount InsecureRandMoneyAmount()
static uint256 InsecureRand256()