Olaoluwa Osuntokun
b72e16f0d6
multi: correct all import paths
2018-05-23 16:46:15 -07:00
Daniel Krawisz
47113d428c
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.
2018-05-23 16:46:15 -07:00
Daniel Krawisz
4fd446028f
Enable estimatefee rpc command.
2018-05-23 16:46:15 -07:00
Daniel Krawisz
e6d8b869aa
feeEstimator changed to FeeEstimator. A number of optimizations and improvements.
...
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.
2018-05-23 16:46:15 -07:00
Daniel Krawisz
4042921791
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.
2018-05-23 16:46:15 -07:00