Coin::Coin

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

Synopsis

Declared in <coins.h>

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

Parameters

NameDescription
outInThe transaction output to copy.
nHeightInHeight of the block that included the containing transaction.
fCoinBaseInWhether the containing transaction was a coinbase.