wallet::OutputGroup::Insert

Add an output to the group, updating its aggregate values.

Synopsis

Declared in <wallet/coinselection.h>

void
Insert(
    std::shared_ptr<COutput> const& output,
    size_t ancestors,
    size_t cluster_count);

Parameters

NameDescription
outputThe output to add.
ancestorsNumber of unconfirmed ancestors contributed by the output.
cluster_countCluster count of the output.