Compute the virtual transaction size (weight reinterpreted as bytes).
Declared in <policy/policy.h>
int64_t
GetVirtualTransactionSize(
int64_t nWeight,
int64_t nSigOpCost,
unsigned int bytes_per_sigop);
Virtual transaction size in vB.
| Name | Description |
|---|---|
| nWeight | Transaction weight. |
| nSigOpCost | Signature operation cost of the transaction. |
| bytes_per_sigop | Bytes charged per signature operation. |