Coin::Coin

Constructors

Synopses

Declared in <coins.h>

empty constructor

Coin();
» more...

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

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

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

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

Parameters

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