[#wallet-feebumper-SignatureWeights]
= xref:wallet.adoc[wallet]::xref:wallet/feebumper.adoc[feebumper]::SignatureWeights
:relfileprefix: ../../
:mrdocs:

Accumulates signature counts and weights to estimate transaction size&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct SignatureWeights;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:wallet/feebumper/SignatureWeights/AddSigWeight.adoc[`AddSigWeight`] 
| Adds the weight of a single signature, scaling by signature version&period;
| xref:wallet/feebumper/SignatureWeights/GetWeightDiffToMax.adoc[`GetWeightDiffToMax`] 
| Returns the difference between the maximum and actual signature weight&period;
|===



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