Add a coin. Set possible_overwrite to true if an unspent version may already exist in the cache.

Synopsis

Declared in <coins.h>

void
AddCoin(
    COutPoint const& outpoint,
    Coin&& coin,
    bool possible_overwrite);

Parameters

Name

Description

outpoint

The outpoint to add the coin under.

coin

The coin to add (moved into the cache).

possible_overwrite

Set to true if an unspent version may already exist in the cache.

Created with MrDocs