mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-01 16:35:53 +00:00
Compare commits
2 Commits
0.30.1-rc1
...
0.30.1-rc2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bdfb5fa2bc | ||
|
|
b2c9179100 |
@@ -1858,8 +1858,15 @@ void LedgerConsensusImp::addLoad(STValidation::ref val)
|
||||
std::uint32_t fee = std::max(
|
||||
app_.getFeeTrack().getLocalFee(),
|
||||
app_.getFeeTrack().getClusterFee());
|
||||
std::uint32_t ref = app_.getFeeTrack().getLoadBase();
|
||||
if (fee > ref)
|
||||
|
||||
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)
|
||||
val->setFieldU32(sfLoadFee, fee);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ char const* getRawVersionString ()
|
||||
//
|
||||
// The build version number (edit this for each release)
|
||||
//
|
||||
"0.30.1-rc1"
|
||||
"0.30.1-rc2"
|
||||
//
|
||||
// Must follow the format described here:
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user