Revert "Increase minimum local fee":

The code is no longer necessary, as the fee is now dynamically
adjusted using the new fee escalation logic.

This reverts commit 57625e06ed.
This commit is contained in:
Nik Bougalis
2016-06-01 14:39:26 -07:00
parent 28f90d17ac
commit 1edc5e5ee0

View File

@@ -1905,14 +1905,7 @@ void LedgerConsensusImp::addLoad(STValidation::ref val)
app_.getFeeTrack().getLocalFee(),
app_.getFeeTrack().getClusterFee());
std::uint32_t loadBase = app_.getFeeTrack().getLoadBase();
// Hard code the minimum fee for now:
std::uint32_t const minFee = 10000;
std::uint32_t const refFee = 10;
fee = std::max(fee, (minFee * loadBase + refFee - 1) / refFee);
if (fee > loadBase)
if (fee > app_.getFeeTrack().getLoadBase())
val->setFieldU32(sfLoadFee, fee);
}