MCPcopy Create free account
hub / github.com/LUX-Core/lux / GetVirtualTransactionSize

Function GetVirtualTransactionSize

src/policy/policy.cpp:208–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208int64_t GetVirtualTransactionSize(int64_t nCost)
209{
210 return (nCost + WITNESS_SCALE_FACTOR - 1) / WITNESS_SCALE_FACTOR;
211}
212
213int64_t GetVirtualTransactionSize(const CTransaction& tx)
214{

Callers 3

GetTxSizeMethod · 0.85
TxToJSONFunction · 0.85
getTransactionSizeMethod · 0.85

Calls 2

GetTransactionCostFunction · 0.85
maxFunction · 0.85

Tested by

no test coverage detected