Skip to content

Commit

Permalink
2.1.0-rc1-debugrelay-9: log ledger advancing.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrippled committed Mar 12, 2024
1 parent 0d2afea commit 895640a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/ripple/app/ledger/impl/LedgerMaster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2092,12 +2092,16 @@ LedgerMaster::fetchForHistory(
void
LedgerMaster::doAdvance(std::unique_lock<std::recursive_mutex>& sl)
{
JLOG(m_journal.debug()) << "doAdvance aka tryAdvance. mAdvanceWork: "
<< mAdvanceWork;
do
{
mAdvanceWork = false; // If there's work to do, we'll make progress
bool progress = false;

auto const pubLedgers = findNewLedgersToPublish(sl);
JLOG(m_journal.debug()) << "doAdvance aka tryAdvance number of "
<< "ledgers to publish " << pubLedgers.size();
if (pubLedgers.empty())
{
if (!standalone_ && !app_.getFeeTrack().isLoadedLocal() &&
Expand Down
2 changes: 1 addition & 1 deletion src/ripple/protocol/impl/BuildInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ namespace BuildInfo {
// and follow the format described at http://semver.org/
//------------------------------------------------------------------------------
// clang-format off
char const* const versionString = "2.1.0-rc1-debugrelay-8"
char const* const versionString = "2.1.0-rc1-debugrelay-9"
// clang-format on

#if defined(DEBUG) || defined(SANITIZER)
Expand Down

0 comments on commit 895640a

Please sign in to comment.