Clio develop
The XRP Ledger API server.
|
An interface for LedgerFetcher. More...
#include <LedgerFetcherInterface.hpp>
Public Types | |
using | GetLedgerResponseType = org::xrpl::rpc::v1::GetLedgerResponse |
using | OptionalGetLedgerResponseType = std::optional<GetLedgerResponseType> |
Public Member Functions | |
virtual OptionalGetLedgerResponseType | fetchData (uint32_t seq)=0 |
Extract data for a particular ledger from an ETL source. | |
virtual OptionalGetLedgerResponseType | fetchDataAndDiff (uint32_t seq)=0 |
Extract diff data for a particular ledger from an ETL source. | |
An interface for LedgerFetcher.
|
nodiscardpure virtual |
Extract data for a particular ledger from an ETL source.
This function continously tries to extract the specified ledger (using all available ETL sources) until the extraction succeeds, or the server shuts down.
seq | sequence of the ledger to extract |
|
nodiscardpure virtual |
Extract diff data for a particular ledger from an ETL source.
This function continously tries to extract the specified ledger (using all available ETL sources) until the extraction succeeds, or the server shuts down.
seq | sequence of the ledger to extract |