Skip to main content
This code invokes the stellar-core binary (as configured in ledgerbackend.CaptiveCoreConfig) to replay ledgers from a given ledger range. It uses the ingest.LedgerChangeReader to read changes from each ledger (xdr.LedgerCloseMeta) and categorizes the changes based on whether they represent created, updated, or deleted ledger entries. The ingest.Change structure is used to capture individual changes, and the code tracks various types of changes such as those related to fees, transactions, or operations.
Sample Response: