|
Clio
develop
The XRP Ledger API server.
|


Public Types | |
| using | ActionType = std::function<void()> |
| using | OperationType = std::optional<util::async::AnyOperation<void>> |
Public Member Functions | |
| AmendmentBlockHandler (util::async::AnyExecutionContext ctx, SystemState &state, std::chrono::steady_clock::duration interval=std::chrono::seconds{1}, ActionType action=kDefaultAmendmentBlockAction) | |
| void | stop () override |
| Stop the block handler from repeatedly executing. | |
| void | notifyAmendmentBlocked () override |
| The function to call once an amendment block has been discovered. | |
Static Public Attributes | |
| static ActionType const | kDefaultAmendmentBlockAction |
|
overridevirtual |
The function to call once an amendment block has been discovered.
Implements etl::AmendmentBlockHandlerInterface.
|
overridevirtual |
Stop the block handler from repeatedly executing.
Implements etl::AmendmentBlockHandlerInterface.
|
static |