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