| Clio
    develop
    The XRP Ledger API server. | 
Loads ledger data into the DB. More...
#include <LedgerLoader.hpp>
| Public Member Functions | |
| LedgerLoader (std::shared_ptr< BackendInterface > backend, std::shared_ptr< etlng::LoadBalancerInterface > balancer, LedgerFetcherType &fetcher, SystemState const &state) | |
| Create an instance of the loader. | |
| FormattedTransactionsData | insertTransactions (ripple::LedgerHeader const &ledger, GetLedgerResponseType &data) | 
| Insert extracted transaction into the ledger. | |
| std::optional< ripple::LedgerHeader > | loadInitialLedger (uint32_t sequence) | 
| Download a ledger with specified sequence in full. | |
Loads ledger data into the DB.
| 
 | inline | 
Insert extracted transaction into the ledger.
Insert all of the extracted transactions into the ledger, returning transactions related to accounts, transactions related to NFTs, and NFTs themselves for later processing.
| ledger | ledger to insert transactions into | 
| data | data extracted from an ETL source | 
| 
 | inline | 
Download a ledger with specified sequence in full.
Note: This takes several minutes or longer.
| sequence | the sequence of the ledger to download |