[#GetSigOpsAdjustedWeight]
= GetSigOpsAdjustedWeight
:mrdocs:

Adjust a transaction weight to account for its signature operation cost&period;

== Synopsis

Declared in `&lt;policy&sol;policy&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int64&lowbar;t
GetSigOpsAdjustedWeight(
    int64&lowbar;t weight,
    int64&lowbar;t sigop&lowbar;cost,
    unsigned int bytes&lowbar;per&lowbar;sigop);
----

== Return Value

Weight adjusted upward for sigop cost&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *weight*
| Transaction weight&period;
| *sigop&lowbar;cost*
| Signature operation cost of the transaction&period;
| *bytes&lowbar;per&lowbar;sigop*
| Bytes charged per signature operation&period;
|===


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