Review report

core: PR #36525

1 suggestion

Earlier concerns neither republished nor resolved: 2 suggestions. See the Run archive for their assessments.

Optional improvements

Link

[suggestion] · Fee getter documentation omits prioritisation deltas

The getter reports actual transaction fees, not modified fees used for block selection, so clients may misinterpret the value or its threshold comparison.

Location: src/interfaces/mining.h:50 (head).

Details and suggested fix

getTotalFees() returns the sum of actual fees for non-coinbase transactions. It excludes prioritisetransaction deltas and the block subsidy, even though block selection ranks transactions using modified fees. The waitNext() fee threshold is compared against this actual-fee total. Document these semantics in the getter and CBlockTemplate::m_total_fees comments.


Coverage details

Earlier concerns

Earlier reports raised these, with the titles and severities shown there. This review neither republished nor resolved them.