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.
Details
Details
- Reviewers
PiRK - Group Reviewers
Restricted Project - Commits
- rABC5c6394a11a86: [chronik] Electrum: implement the mempool.get_fee_histogram() endpoint
./test/functional/test_runner.py chronik_electrum_blockchain
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Looks good.
Putting holes in the histogram is debatable and may require some documentation (vs just putting the value vsize = 0 explicitly in the output, which would make the fee-ranges a bit more self-explanatory). But I don't plan to use this for now, so not blocking on it. And we need some doc anyway to inform users that the fee value is the max value of the range.
Comment Actions
You can see it as merging intervals rather than a "hole"...
This mimics the behavior of fulcrum afaict