citadel-tech / coinswap

Functioning, minimal-viable binaries and libraries to perform a trustless, p2p Maxwell-Belcher Coinswap Protocol
https://gist.github.com/chris-belcher/9144bd57a91c194e332fb5ca371d0964
Other
73 stars 46 forks source link

Fee-Estimator Module #199

Open mojoX911 opened 4 months ago

mojoX911 commented 4 months ago

We should have a utility module for fee estimation via various public interfaces. This will be useful for the Maker daemon as it needs to estimate current fees without human intervention.

This should be an independent module feestimation.rs that just gathers current fee rate data from a handful of public interfaces like, esplora, electrum, mempool.space etc. (the more the better).

Then combine them to come up with a reasonable default value.

f3r10 commented 4 months ago

hi @mojoX911 this one looks related to the one I did previously. Do you mind if I give a try to this one?

mojoX911 commented 4 months ago

Sure. Give ita shot.

KnowWhoami commented 3 months ago

I'll take this up.