diff options
author | MarcoFalke <falke.marco@gmail.com> | 2018-08-13 07:18:00 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2018-08-13 07:18:25 -0400 |
commit | a9c56b663439039b683f6ca2bcab12aab7c71366 (patch) | |
tree | 382060e6592c12cb13d74b8607fd189baf49319d /test/functional/rpc_psbt.py | |
parent | ef86f2631e3ce5e1664e1913658fa6e807f35ff7 (diff) | |
parent | 4b7091a842c2c3a76f4136cb0fdcf1c5904fd237 (diff) |
Merge #13918: rpc: Replace median fee rate with feerate percentiles in getblockstats
4b7091a842 Replace median fee rate with feerate percentiles (Marcin Jachymiak)
Pull request description:
Currently, the `medianfeerate` statistic is calculated from the feerate of the middle transaction of a list of transactions sorted by feerate.
This PR instead uses the value of the 50th percentile weight unit in the block, and also calculates the feerate at the 10th, 25th, 75th, and 90th percentiles. This more accurately corresponds with what is generally meant by median feerate.
Tree-SHA512: 59255e243df90d7afbe69839408c58c9723884b8ab82c66dc24a769e89c6d539db1905374a3f025ff28272fb25a0b90e92d8101103e39a6d9c0d60423a596714
Diffstat (limited to 'test/functional/rpc_psbt.py')
0 files changed, 0 insertions, 0 deletions