One more for you: What are the steps to make horizon db backfill to a specific elder ledger number? A core node may not be fully synced and may have ledger gaps.

1 Answer 1


In order to ingest a ledger, it must be present in the attached stellar-core, or has been ingested by horizon previously.

Ideally, sync a stellar-core from the desired eldest ledger (using an appropriate CATCHUP_RECENT value) and start a horizon instance with a clean db. Horizon will then ingest the longest segment of contiguous ledgers up to present, which should be stellar core's entire history.

  • How do you determine an appropriate CATCHUP_RECENT value? Isn't CATCHUP_RECENT the number of ledger entries to include? How do you convert ledger entries to ledgers? Feb 7, 2019 at 11:18
  • @JohnMurphy It's the number of ledgers. Not ledger entries. (Is this in the docs somewhere? using "ledger entries" is indeed semantically confusing in this context) Feb 11, 2019 at 22:55
  • Thanks @Tomer Weller. I found it in the example config at github.com/stellar/stellar-core/blob/master/docs/…. That's where my confusion came from. Perhaps the info on it should be made clearer? Feb 12, 2019 at 9:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.