Compute the virtual size of a transaction, accounting for sigop cost.
Declared in <policy/policy.h>
int64_t
GetVirtualTransactionSize(
CTransaction const& tx,
int64_t nSigOpCost,
unsigned int bytes_per_sigop);
Virtual transaction size in vB.
| Name | Description |
|---|---|
| tx | Transaction to measure. |
| nSigOpCost | Signature operation cost of the transaction. |
| bytes_per_sigop | Bytes charged per signature operation. |