wallet::SelectionResult::SelectionResult

Constructors

Synopses

Declared in <wallet/coinselection.h>

Default construction is disabled.

SelectionResult() = delete;
» more...

Construct an empty result targeting a given amount with a given algorithm.

explicit
SelectionResult(
    CAmount const target,
    SelectionAlgorithm algo);
» more...

Parameters

NameDescription
targetThe selection target (recipient amount plus non-input fees).
algoThe algorithm producing this result.