CTxOut::CTxOut

Constructors

Synopses

Declared in <primitives/transaction.h>

Constructs a null output.

CTxOut();
» more...

Constructs an output with a given value and spending script.

CTxOut(
    CAmount const& nValueIn,
    CScript scriptPubKeyIn);
» more...

Parameters

NameDescription
nValueInThe amount carried by the output.
scriptPubKeyInThe script defining the spending conditions.