It was noted on #bitcoin-dev that many simplifications arise from removing the complex, dual-policy aspects of priority-based low fee transactions on policy estimation, block template creation and mempool code. This change updates Bitcoin Core to relay purely based on fee/kb rate, removing the concepts of priority and free transactions from the codebase.
fSendFreeTransactions, fLimitFree and similar controls have been operating in the field defaulting to fee-based choices already.
This change should make other changes such as @pstratem ’s work to cap the mempool size dynamically much easier.
Notes:
- Status: Watching travis. A large change, largely untested, so not ready for merging without lots of feedback and testing.
- Thus, requesting feedback and testing…
- Transaction fee deltas are preserved - thus TX “priority” remains to some extent
- prioritisetransaction RPC call continues to work, by adjusting the fee.
- needs focused review in the area of wallet, to ensure IsMine() transactions work fine through reorgs