Coder Social home page Coder Social logo

Weird fee estimation about electrumx HOT 6 CLOSED

spesmilo avatar spesmilo commented on June 23, 2024
Weird fee estimation

from electrumx.

Comments (6)

SomberNight avatar SomberNight commented on June 23, 2024

Do you mean the blockchain.estimatefee RPC? ElectrumX just forwards those calls to bitcoind estimatesmartfee ("conservative" mode)

from electrumx.

SomberNight avatar SomberNight commented on June 23, 2024

If you want mempool based fee estimates, you should compute your own in the client, as Electrum does in mempool mode.
The client can get a view of the mempool calling mempool.get_fee_histogram.

from electrumx.

Overtorment avatar Overtorment commented on June 23, 2024

thanks! will dig in that direction

from electrumx.

SomberNight avatar SomberNight commented on June 23, 2024

Note that blockchain.estimatefee can take an optional second parameter for the mode for bitcoind (so you can set it to economical), since kyuupichan/electrumx#1001.
It was not added to the protocol documentation in that PR and the protocol version was not bumped either, so you cannot be sure if the server supports it :/
I am making it part of protocol version 1.5 though (#80).

from electrumx.

benma avatar benma commented on June 23, 2024

@SomberNight are there still plans to add a protocol version 1.5 that officially documents the 2nd argument of estimatefee()?

from electrumx.

SomberNight avatar SomberNight commented on June 23, 2024

Yes. The protocol 1.5/2.0 (#90) stuff is still on my TODO list, but realistically I don't know when I can get to it.

from electrumx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.