Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpc method estimatefee #735

Closed
wants to merge 5 commits into from

Commits on Nov 14, 2017

  1. feeEstimator class added with tests. The feeEstimator can keep track

    of how long it takes for unconfirmed txs to be mined into blocks. It
    can also roll itself back in the case of an orphan block.
    DanielKrawisz authored and Daniel Krawisz committed Nov 14, 2017
    Configuration menu
    Copy the full SHA
    2437575 View commit details
    Browse the repository at this point in the history
  2. feeEstimator changed to FeeEstimator. A number of optimizations and i…

    …mprovements.
    
    Rollback takes a block hash rather than a BlockStamp.
    
    Increase rounds in TestEstimateFeeRollback to test dropping txs that have been in the mempool too long.
    Daniel Krawisz committed Nov 14, 2017
    Configuration menu
    Copy the full SHA
    3cc823e View commit details
    Browse the repository at this point in the history
  3. FeeEstimator added to server. Mempool alerts the fee estimator of

    new txs that it observes. The block manager alerts the fee estimator
    of new and orphaned blocks.
    
    Check for invalid state and recreate FeeEstimator if necessary.
    Daniel Krawisz committed Nov 14, 2017
    Configuration menu
    Copy the full SHA
    b78d8cb View commit details
    Browse the repository at this point in the history
  4. Enable estimatefee rpc command.

    Daniel Krawisz committed Nov 14, 2017
    Configuration menu
    Copy the full SHA
    0b84d79 View commit details
    Browse the repository at this point in the history
  5. It is now possible to save and restore the state of the FeeEstimator

    and the server searches the database for a previous state to load
    when the program is turned on.
    Daniel Krawisz committed Nov 14, 2017
    Configuration menu
    Copy the full SHA
    73c8d0a View commit details
    Browse the repository at this point in the history