wallet::CoinsResult::Add

Add a single output of the given type to the result.

Synopsis

Declared in <wallet/spend.h>

void
Add(
    OutputType type,
    COutput const& out);

Parameters

NameDescription
typeThe output type to store the coin under.
outThe output to add to the result.