mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-01 08:25:51 +00:00
Some tiny bugfixes:
* Don't let ledger idle interval get too short * Fix CBigNum::setuint256 * Fix SqliteStatement::isError * Remove dead code, fix incorrect comments * Check for NULL earlier in CKey constructors * Prevent expire times from underflowing in TaggedCache
This commit is contained in:
@@ -606,6 +606,9 @@ public:
|
||||
idleInterval = LEDGER_IDLE_INTERVAL;
|
||||
}
|
||||
|
||||
idleInterval = std::max (idleInterval, LEDGER_IDLE_INTERVAL);
|
||||
idleInterval = std::max (idleInterval, 2 * mPreviousLedger->getCloseResolution ());
|
||||
|
||||
if (ContinuousLedgerTiming::shouldClose (anyTransactions
|
||||
, mPreviousProposers, proposersClosed, proposersValidated
|
||||
, mPreviousMSeconds, sinceClose, mCurrentMSeconds
|
||||
|
||||
Reference in New Issue
Block a user