[#wallet-SelectionResult-2constructor-0e]
= xref:wallet.adoc[wallet]::xref:wallet/SelectionResult.adoc[SelectionResult]::SelectionResult
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

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

Default construction is disabled&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:wallet/SelectionResult/2constructor-00.adoc[SelectionResult]() = delete;
----

[.small]#xref:wallet/SelectionResult/2constructor-00.adoc[_» more&period;&period;&period;_]#

Construct an empty result targeting a given amount with a given algorithm&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:wallet/SelectionResult/2constructor-0c.adoc[SelectionResult](
    xref:CAmount.adoc[CAmount] const target,
    xref:wallet/SelectionAlgorithm.adoc[SelectionAlgorithm] algo);
----

[.small]#xref:wallet/SelectionResult/2constructor-0c.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *target*
| The selection target (recipient amount plus non&hyphen;input fees)&period;
| *algo*
| The algorithm producing this result&period;
|===


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