Constructors

Synopses

Declared in <coins.h>

empty constructor

Coin();

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

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

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

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

Parameters

Name

Description

outIn

The transaction output to copy.

nHeightIn

Height of the block that included the containing transaction.

fCoinBaseIn

Whether the containing transaction was a coinbase.

Created with MrDocs