[#wallet-CCoinControl-SetInputWeight] = xref:wallet.adoc[wallet]::xref:wallet/CCoinControl.adoc[CCoinControl]::SetInputWeight :relfileprefix: ../../ :mrdocs: Set an input's weight. == Synopsis Declared in `<wallet/coincontrol.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void SetInputWeight( xref:COutPoint.adoc[COutPoint] const& outpoint, int64_t weight); ---- == Parameters [cols="1,4"] |=== | Name| Description | *outpoint* | The output whose input weight is being set. | *weight* | The input weight for spending the output. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#