CounterpartyXCP / counterwallet

Counterparty web wallet
https://counterwallet.io
147 stars 177 forks source link

fees source is outdated and gives bad fees #903

Open bretton opened 3 years ago

bretton commented 3 years ago

Hi, the following code refers to url: "https://bitcoinfees.earn.com/api/v1/fees/list", but this site hasn't updated with accurate fees in some time.

https://github.com/CounterpartyXCP/counterwallet/blob/develop/src/js/util.bitcoinfees.js

It's better to use https://mempool.space/api/v1/fees/recommended for accurate fee calculations as of 20 April 2021