HomePhabricator

[chronik] Electrum: implement the mempool.get_fee_histogram() endpoint

Description

[chronik] Electrum: implement the mempool.get_fee_histogram() endpoint

Summary:
https://electrum-cash-protocol.readthedocs.io/en/latest/protocol-methods.html#mempool-get-fee-histogram

We simply use powers of 2 as a fee rate interval, which seems to be what fulcrum does. Note that the unit is sat/vB.

Test Plan:

./test/functional/test_runner.py chronik_electrum_blockchain

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Subscribers: PiRK

Differential Revision: https://reviews.bitcoinabc.org/D18246

Details

Provenance
FabienAuthored on Jun 12 2025, 12:49
FabienPushed on Jun 12 2025, 19:51
Reviewer
Restricted Project
Differential Revision
D18246: [chronik] Electrum: implement the mempool.get_fee_histogram() endpoint
Parents
rABCad906fe44a95: [net] Move ConnectionType and eviction logic to their own files
Branches
Unknown
Tags
Unknown