Coin::Coin

construct a Coin from a CTxOut and height/coinbase information.

Synopsis

Declared in <coins.h>

Coin(
    CTxOut&& outIn,
    int nHeightIn,
    bool fCoinBaseIn);

Parameters

NameDescription
outInThe transaction output to store (moved into the Coin).
nHeightInHeight of the block that included the containing transaction.
fCoinBaseInWhether the containing transaction was a coinbase.