Skip to content

Commit

Permalink
use one capitalization of Catchup everywhere
Browse files Browse the repository at this point in the history
Signed-off-by: Rafał Malinowski <[email protected]>
  • Loading branch information
vogel committed Apr 25, 2018
1 parent 3b5429e commit a21b065
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/history/HistoryTestsUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ CatchupSimulation::catchupApplication(uint32_t initLedger, uint32_t count,
CLOG(INFO, "History")
<< "force-starting catchup at initLedger=" << initLedger;

lm.startCatchUp({initLedger, count}, manual);
lm.startCatchup({initLedger, count}, manual);
}

// Push publishing side forward one-ledger into a history block if it's
Expand Down
2 changes: 1 addition & 1 deletion src/ledger/LedgerManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class LedgerManager
// LedgerManager detects it is desynchronized from SCP's consensus ledger.
// This method is present in the public interface to permit testing and
// command line catchups.
virtual void startCatchUp(CatchupConfiguration configuration,
virtual void startCatchup(CatchupConfiguration configuration,
bool manualCatchup) = 0;

// Called by the history subsystem during catchup: this method asks the
Expand Down
4 changes: 2 additions & 2 deletions src/ledger/LedgerManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ LedgerManagerImpl::valueExternalized(LedgerCloseData const& ledgerData)
// that way we will have a way to verify history consistency -
// compare previousLedgerHash of buffered ledger with last one
// downloaded from history
startCatchUp({ledgerData.getLedgerSeq() - 1, getCatchupCount(mApp)},
startCatchup({ledgerData.getLedgerSeq() - 1, getCatchupCount(mApp)},
false);
}
break;
Expand Down Expand Up @@ -479,7 +479,7 @@ LedgerManagerImpl::valueExternalized(LedgerCloseData const& ledgerData)
}

void
LedgerManagerImpl::startCatchUp(CatchupConfiguration configuration,
LedgerManagerImpl::startCatchup(CatchupConfiguration configuration,
bool manualCatchup)
{
auto lastClosedLedger = getLastClosedLedgerNum();
Expand Down
2 changes: 1 addition & 1 deletion src/ledger/LedgerManagerImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class LedgerManagerImpl : public LedgerManager

Database& getDatabase() override;

void startCatchUp(CatchupConfiguration configuration,
void startCatchup(CatchupConfiguration configuration,
bool manualCatchup) override;

HistoryManager::LedgerVerificationStatus
Expand Down
2 changes: 1 addition & 1 deletion src/main/CommandHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ CommandHandler::catchup(std::string const& params, std::string& retStr)
}
}

mApp.getLedgerManager().startCatchUp({ledger, count}, true);
mApp.getLedgerManager().startCatchup({ledger, count}, true);
retStr = (std::string("Started catchup to ledger ") +
std::to_string(ledger) + std::string(" in mode ") +
std::string(
Expand Down
2 changes: 1 addition & 1 deletion src/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ catchup(Application::pointer app, uint32_t to, uint32_t count,

try
{
app->getLedgerManager().startCatchUp({to, count}, true);
app->getLedgerManager().startCatchup({to, count}, true);
}
catch (std::invalid_argument const&)
{
Expand Down

0 comments on commit a21b065

Please sign in to comment.