Commit Graph

7 Commits

Author SHA1 Message Date
Luke Dashjr
d53d29ce1b 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.
2023-11-24 23:35:00 +00:00
Luke Dashjr
5a10b9ec5e RPC/blockchain: getmempoolinfo: Return fee_histogram in older format (only) 2023-11-24 23:35:00 +00:00
Kiminuo
9caa0f7595 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
2023-11-24 23:35:00 +00:00
Luke Dashjr
e114acf9ef RPC/blockchain: getmempoolinfo: Enable specifying with_fee_histogram as a boolean to use a sensible default set of fee rate levels 2023-11-24 23:35:00 +00:00
Luke Dashjr
094e71f576 Bugfix: QA: Ensure mempool_fee_histogram can adapt to feerate rounding correctly
Caution: This implementation is for a post-#22949 codebase
2023-11-24 23:35:00 +00:00
Jonas Schnelli
6b1ec599d7 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>
2023-11-24 23:35:00 +00:00
Kiminuo
c5e53d0d21 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>
2023-03-11 23:05:12 +01:00