MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / UpdateModifiedFee

Method UpdateModifiedFee

src/kernel/mempool_entry.h:125–128  ·  view source on GitHub ↗

Updates the modified fees with descendants/ancestors.

Source from the content-addressed store, hash-verified

123
124 // Updates the modified fees with descendants/ancestors.
125 void UpdateModifiedFee(CAmount fee_diff) const
126 {
127 m_modified_fee = SaturatingAdd(m_modified_fee, fee_diff);
128 }
129
130 // Update the LockPoints after a reorg
131 void UpdateLockPoints(const LockPoints& lp) const

Callers 2

PrioritiseTransactionMethod · 0.80
StageAdditionMethod · 0.80

Calls 1

SaturatingAddFunction · 0.85

Tested by

no test coverage detected