Adjust a transaction weight to account for its signature operation cost.
Declared in <policy/policy.h>
int64_t
GetSigOpsAdjustedWeight(
int64_t weight,
int64_t sigop_cost,
unsigned int bytes_per_sigop);
Weight adjusted upward for sigop cost.
| Name | Description |
|---|---|
| weight | Transaction weight. |
| sigop_cost | Signature operation cost of the transaction. |
| bytes_per_sigop | Bytes charged per signature operation. |