[#wallet-OutputGroup-Insert] = xref:wallet.adoc[wallet]::xref:wallet/OutputGroup.adoc[OutputGroup]::Insert :relfileprefix: ../../ :mrdocs: Add an output to the group, updating its aggregate values. == Synopsis Declared in `<wallet/coinselection.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void Insert( std::shared_ptr<COutput> const& output, size_t ancestors, size_t cluster_count); ---- == Parameters [cols="1,4"] |=== | Name| Description | *output* | The output to add. | *ancestors* | Number of unconfirmed ancestors contributed by the output. | *cluster_count* | Cluster count of the output. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#