Luke Dashjr
14b872b852
Bugfix: QA: mempool_fee_histogram: Compare to actual vsize/fee rather than hard-coding a particular constant
2025-02-21 23:31:39 +00:00
Luke Dashjr
9ebe86025c
Bugfix: RPC/blockchain: Actually round feerates down for getmempoolinfo fee histograms
2025-02-21 23:31:39 +00:00
Luke Dashjr
d10e35ab13
Bugfix: QA: Ensure mempool_fee_histogram expected feerates rounded down
...
As of #22949 , fees are rounded up based on feerate, but going the opposite direction from fee to feerate still must round down.
2025-02-21 23:31:39 +00:00
Luke Dashjr
68f7f13ad0
RPC/blockchain: getmempoolinfo: Return fee_histogram in older format (only)
2025-02-21 23:31:39 +00:00
Kiminuo
521f921d83
RPC/mempool: Add "to" (end of range) field to fee histogram
...
Co-authored-by: Jonas Schnelli <dev@jonasschnelli.ch>
Co-authored-by: Jon Atack <jon@atack.com>
Github-Pull: #21422
Rebased-From: 0b87ba9bc3a2ada2839af0e1af868fcd5ddb9155
2025-02-21 23:31:39 +00:00
Luke Dashjr
b9b320c02a
RPC/blockchain: getmempoolinfo: Enable specifying with_fee_histogram as a boolean to use a sensible default set of fee rate levels
2025-02-21 23:31:39 +00:00
Luke Dashjr
eb93c8bf4b
Bugfix: QA: Ensure mempool_fee_histogram can adapt to feerate rounding correctly
...
Caution: This implementation is for a post-#22949 codebase
2025-02-21 23:31:39 +00:00
Jonas Schnelli
ecd567ae63
RPC/blockchain: Consider ancestor, descendant, and combined fee rates for histogram in getmempoolinfo
...
Test changes from: 0b6ba66238
Co-authored-by: João Barbosa <joao.paulo.barbosa@gmail.com>
Co-authored-by: Jon Atack <jon@atack.com>
2025-02-21 23:31:39 +00:00
Kiminuo
1d566c067c
test: Add mempool fee histogram test coverage
...
Original commit: 0b6ba66238
Co-authored-by: João Barbosa <joao.paulo.barbosa@gmail.com>
Co-authored-by: Jon Atack <jon@atack.com>
Github-Pull: #21422
Rebased-From: c5e53d0d21
2025-02-21 23:31:39 +00:00