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

Method UpdateModifiedFee

src/txmempool.cpp:104–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 setPeginsSpent(_setPeginsSpent) {}
103
104void CTxMemPoolEntry::UpdateModifiedFee(CAmount fee_diff)
105{
106 nModFeesWithDescendants = SaturatingAdd(nModFeesWithDescendants, fee_diff);
107 nModFeesWithAncestors = SaturatingAdd(nModFeesWithAncestors, fee_diff);
108 m_modified_fee = SaturatingAdd(m_modified_fee, fee_diff);
109}
110
111void CTxMemPoolEntry::UpdateLockPoints(const LockPoints& lp)
112{

Callers 2

addUncheckedMethod · 0.80
PrioritiseTransactionMethod · 0.80

Calls 1

SaturatingAddFunction · 0.85

Tested by

no test coverage detected