Data Requested Is Before Recorded History
Hello!
What problem does your feature solve?
Having a complete history in order to avoid this error on horizon:
GET /ledgers/1
{
"type": "https://stellar.org/horizon-errors/before_history",
"title": "Data Requested Is Before Recorded History",
"status": 410,
"detail": "This horizon instance is configured to only track a portion of the stellar network's latest history. This request is asking for results prior to the recorded history known to this horizon instance."
}
When you boot the image, it only works starting from the ledger 8.
What would you like to see?
I would like to be able to configure the quickstart image so that i can decide if i want the whole history or not.
I've tried many things around CATCHUP_COMPLETE but i could not make it work
What alternatives are there?
I could not figure any other option
Thank you!
Here some progress. After starting the stellar/quickstart container:
- I enter the container
docker-compose exec -it stellar /bin/bash
- stop horizon through supervisorctl
supervisorctl
stop horizon
- reingest from ledger 1 to 8
/usr/bin/stellar-horizon db reingest range 1 8
- start horizon
supervisorctl
start horizon
With this, I could reingest from ledger 2 to 8. Ledger 1 refuses to be ingested. Is this normal behaviour ?
Ledger 1 is pregenerated and not available, starting from ledger 2. pid=2558 service=ingest
That's normal. Ledger 1 is the genesis ledger.
This issue is stale because it has been open for 30 days with no activity. It will be closed in 30 days unless the stale label is removed.
This issue is stale because it has been open for 90 days with no activity.