Always update fee estimates on new blocks.
commitd825838e6472f73c491f93506cb003472f071602
authorAlex Morcos <morcos@chaincode.com>
Fri, 11 Nov 2016 18:14:45 +0000 (11 13:14 -0500)
committerAlex Morcos <morcos@chaincode.com>
Wed, 4 Jan 2017 17:09:34 +0000 (4 12:09 -0500)
treefac9c77e0b7b6c6cb2b5b198a31cf20ed1dc56a2
parent6f06b268c1f383affb2cf397f325d48d25bc8880
Always update fee estimates on new blocks.

All decisions about whether the transactions are valid data points are made at the time the transaction arrives. Updating on blocks all the time will now cause stale fee estimates to decay quickly when we restart a node.
src/policy/fees.cpp
src/policy/fees.h
src/txmempool.cpp
src/txmempool.h
src/validation.cpp