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