|
using | ActionType = std::function<void()> |
|
| AmendmentBlockHandler (util::async::AnyExecutionContext ctx, etl::SystemState &state, std::chrono::steady_clock::duration interval=std::chrono::seconds{1}, ActionType action=kDEFAULT_AMENDMENT_BLOCK_ACTION) |
void | stop () override |
| Stop the block handler from repeatedly executing.
|
void | notifyAmendmentBlocked () override |
| The function to call once an amendment block has been discovered.
|
◆ notifyAmendmentBlocked()
void etlng::impl::AmendmentBlockHandler::notifyAmendmentBlocked |
( |
| ) |
|
|
overridevirtual |
◆ stop()
void etlng::impl::AmendmentBlockHandler::stop |
( |
| ) |
|
|
overridevirtual |
◆ kDEFAULT_AMENDMENT_BLOCK_ACTION
AmendmentBlockHandler::ActionType const etlng::impl::AmendmentBlockHandler::kDEFAULT_AMENDMENT_BLOCK_ACTION |
|
static |
Initial value:= []() {
LOG(log.
fatal()) <<
"Can't process new ledgers: The current ETL source is not compatible with the version of "
<< "the libxrpl Clio is currently using. Please upgrade Clio to a newer version.";
}
A simple thread-safe logger for the channel specified in the constructor.
Definition Logger.hpp:94
Pump fatal(SourceLocationType const &loc=CURRENT_SRC_LOCATION) const
Interface for logging at Severity::FTL severity.
Definition Logger.cpp:478
The documentation for this class was generated from the following files: