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

Method ComputePriority

src/primitives/transaction.cpp:160–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160double CTransaction::ComputePriority(double dPriorityInputs, unsigned int nTxSize) const
161{
162 nTxSize = CalculateModifiedSize(nTxSize);
163 if (nTxSize == 0) return 0.0;
164
165 return dPriorityInputs / nTxSize;
166}
167
168unsigned int CTransaction::CalculateModifiedSize(unsigned int nTxSize) const
169{

Callers 2

GetPriorityMethod · 0.80
wallet.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected