Commit Graph

3 Commits

Author SHA1 Message Date
Jiří Musil
b14641d979 feat: support new alternative_estimate_fee option - mempoolspacemedian (#1233)
* feat: support new alternative_estimate_fee option - mempoolspacemedian

* chore: introduce a fallback median fee rate in case it comes zero from mempool space response

* chore: add and test util function for rounding to significant digits

* chore: use rounding of medianFee to 3 significant digits

* chore: make the new alternative_estimate_fee be configurable, change its name from Median to Block

* chore: return 1000 sats/kB fee for MempoolSpaceBlock estimation method when block not identified

* chore: make the fallback fee rate configurable, improve tests, improve function names
2025-05-07 10:36:46 +02:00
Martin Boehm
a3b0a05b14 Add Ethereum type EIP1559 fee estimate 2025-02-06 22:47:11 +01:00
Martin Boehm
d5e871818a Minor refactor 2023-02-01 17:58:37 +01:00