MCPcopy Create free account
hub / github.com/ElementsProject/elements / GetVirtualTransactionInputSize

Function GetVirtualTransactionInputSize

src/policy/policy.cpp:375–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373}
374
375int64_t GetVirtualTransactionInputSize(const CTransaction& tx, const size_t nIn, int64_t nSigOpCost, unsigned int bytes_per_sigop)
376{
377 return GetVirtualTransactionSize(GetTransactionInputWeight(tx, nIn), nSigOpCost, bytes_per_sigop);
378}

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected