|
|
using | RawLedgerObjectType = org::xrpl::rpc::v1::RawLedgerObject |
|
using | GetLedgerResponseType = org::xrpl::rpc::v1::GetLedgerResponse |
|
using | OptionalGetLedgerResponseType = std::optional<GetLedgerResponseType> |
◆ load()
| std::expected< void, LoaderError > etl::impl::Loader::load |
( |
model::LedgerData const & | data | ) |
|
|
overridevirtual |
Load ledger data.
- Parameters
-
- Returns
- Nothing or error as std::expected
Implements etl::LoaderInterface.
◆ loadInitialLedger()
| std::optional< ripple::LedgerHeader > etl::impl::Loader::loadInitialLedger |
( |
model::LedgerData const & | data | ) |
|
|
overridevirtual |
◆ onInitialLoadGotMoreObjects()
| void etl::impl::Loader::onInitialLoadGotMoreObjects |
( |
uint32_t | seq, |
|
|
std::vector< model::Object > const & | data, |
|
|
std::optional< std::string > | lastKey ) |
|
overridevirtual |
Callback for each incoming batch of objects during initial ledger load.
- Parameters
-
| seq | The sequence for this batch of objects |
| data | The batch of objects |
| lastKey | The last key of the previous batch if there was one |
Implements etl::InitialLoadObserverInterface.
The documentation for this class was generated from the following files:
- /__w/clio/clio/src/etl/impl/Loading.hpp
- /__w/clio/clio/src/etl/impl/Loading.cpp