Add a coin. Set possible_overwrite to true if an unspent version may already exist in the cache.
Declared in <coins.h>
void
AddCoin(
COutPoint const& outpoint,
Coin&& coin,
bool possible_overwrite);
| 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. |