[#wallet-OutputGroupTypeMap-Push]
= xref:wallet.adoc[wallet]::xref:wallet/OutputGroupTypeMap.adoc[OutputGroupTypeMap]::Push
:relfileprefix: ../../
:mrdocs:

Append a group to the containers, tracking it by type and overall&period;

== Synopsis

Declared in `&lt;wallet&sol;coinselection&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
Push(
    xref:wallet/OutputGroup.adoc[OutputGroup] const& group,
    xref:OutputType.adoc[OutputType] type,
    bool insert&lowbar;positive,
    bool insert&lowbar;mixed);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *group*
| The output group to add&period;
| *type*
| The output type the group belongs to&period;
| *insert&lowbar;positive*
| Whether to add the group to the positive&hyphen;only collections&period;
| *insert&lowbar;mixed*
| Whether to add the group to the mixed collections&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
