Let Bitcoin Core use fee estimates from Mempool API
Instead of using the conf_target in Bitcoin Core wallet when doing a transaction send, we switch to fee_rate.
We add a parameter to Cyphernode "Spend" which is the Priority
We set priority according to mempool.space format
curl -sSL "https://mempool.space/api/v1/fees/recommended"
`{ fastestFee: 65, halfHourFee: 55, hourFee: 35, economyFee: 25, minimumFee: 12 }
Every spend, we check the feerate from the mempool API according to the priority level and we feed it to the spend request `
Let Cypnerhonde spend endpoint accept "priority" instead of "conf_target" as a parameter.
Cyphernode will check the mempool fee estimates and Bitcoin core will use the feerate as feerate. Bitcoin Core will never use conf_target anymore.
https://github.com/SatoshiPortal/cyphernode/blob/master/doc/API.v0.md#spend-coins-from-spending-wallet-called-by-your-application
https://github.com/SatoshiPortal/cyphernode/pull/320