HomePhabricator

Create new BlockPolicyEstimator for fee estimates
b649e0395464Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Create new BlockPolicyEstimator for fee estimates

This class groups transactions that have been confirmed in blocks into buckets, based on either their fee or their priority. Then for each bucket, the class calculates what percentage of the transactions were confirmed within various numbers of blocks. It does this by keeping an exponentially decaying moving history for each bucket and confirm block count of the percentage of transactions in that bucket that were confirmed within that number of blocks.

-Eliminate txs which didn't have all inputs available at entry from fee/pri calcs

-Add dynamic breakpoints and tracking of confirmation delays in mempool transactions

-Remove old CMinerPolicyEstimator and CBlockAverage code

-New smartfees.py

-Pass a flag to the estimation code, using IsInitialBlockDownload as a proxy for when we are still catching up and we shouldn't be counting how many blocks it takes for transactions to be included.

-Add a policyestimator unit test

Details

Provenance
Alex Morcos <morcos@chaincode.com>Authored on Aug 26 2014, 20:28
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGb6ea3bcede1c: Merge pull request #5911
Branches
Unknown
Tags
Unknown

Event Timeline

Alex Morcos <morcos@chaincode.com> committed rSTAGINGb649e0395464: Create new BlockPolicyEstimator for fee estimates (authored by Alex Morcos <morcos@chaincode.com>).May 13 2015, 14:36