Compute the virtual size of a single transaction input.
Declared in <policy/policy.h>
int64_t
GetVirtualTransactionInputSize(
CTxIn const& tx,
int64_t nSigOpCost,
unsigned int bytes_per_sigop);
Virtual input size in vB.
| Name | Description |
|---|---|
| tx | Input to measure. |
| nSigOpCost | Signature operation cost of the input. |
| bytes_per_sigop | Bytes charged per signature operation. |