Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove init-genesis-state command and supporting code from horizon #5469

Open
tamirms opened this issue Sep 20, 2024 · 0 comments
Open

remove init-genesis-state command and supporting code from horizon #5469

tamirms opened this issue Sep 20, 2024 · 0 comments

Comments

@tamirms
Copy link
Contributor

tamirms commented Sep 20, 2024

init-genesis-state is a deprecated command that was only used when we ingested from the stellar core postgres DB. It is no longer useful now that we ingest solely from captive core / galexie

the scenario in which init-genesis-state is useful is if you have a validator in a standalone network and horizon is ingesting from the validator's postgres db. In that case, horizon can use init-genesis-state to ingest the initial state of the stellar standalone network: https://github.com/stellar/go/blob/master/ingest/genesis.go#L10 . Once the initial state is ingested into the horizon db, horizon can ingest ledger 2 and onwards by querying the validator's postgres db.

@tamirms tamirms added this to the platform sprint 51 milestone Sep 20, 2024
@karthikiyer56 karthikiyer56 self-assigned this Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants