Skip to content

FeeRates proposed by Electrum servers (BTC) are abnormally high #272

@knocte

Description

@knocte

I noticed this in many occassions. An example was that I was given about 200 sat/vB while mempool.space was suggesting a range around [50-70] at most.

Maybe we have wrong a units conversion issue? In case we don't, we should probably mitigate this issue by having 2 sources more of estimation:

  1. https://mempool.space/api/v1/fees/recommended
  2. https://api.blockchain.info/mempool/fees

So we should treat all 3 as same authority (the 3rd one being the average between some electrum servers, which is the only source we have in master branch now). But instead of doing an average of the 3, we should probably do an average of the 2 closest ones, to prevent outliers. Example for this algorithm is here: c5530e2 (in particular, c5530e2#diff-334c23b77817534a6745af372d0f1f2b4512ef053d679909a5e8471ae278c301R1096 )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions