Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
etl::impl::AmendmentBlockHandler Class Reference

Public Types

using ActionType = std::function<void()>
 

Public Member Functions

 AmendmentBlockHandler (boost::asio::io_context &ioc, SystemState &state, std::chrono::steady_clock::duration interval=std::chrono::seconds{1}, ActionType action=kDEFAULT_AMENDMENT_BLOCK_ACTION)
 
void notifyAmendmentBlocked ()
 

Static Public Attributes

static ActionType const kDEFAULT_AMENDMENT_BLOCK_ACTION
 

Member Data Documentation

◆ kDEFAULT_AMENDMENT_BLOCK_ACTION

AmendmentBlockHandler::ActionType const etl::impl::AmendmentBlockHandler::kDEFAULT_AMENDMENT_BLOCK_ACTION
static
Initial value:
= []() {
static util::Logger const log{"ETL"};
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:110

The documentation for this class was generated from the following files: