Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
208
int64_t GetVirtualTransactionSize(int64_t nCost)
209
{
210
return (nCost + WITNESS_SCALE_FACTOR - 1) / WITNESS_SCALE_FACTOR;
211
}
212
213
int64_t GetVirtualTransactionSize(const CTransaction& tx)
214
{
Callers
3
GetTxSize
Method · 0.85
TxToJSON
Function · 0.85
getTransactionSize
Method · 0.85
Calls
2
GetTransactionCost
Function · 0.85
max
Function · 0.85
Tested by
no test coverage detected