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

Run in-memory / start-from #2486

Closed
graydon opened this issue Mar 30, 2020 · 1 comment
Closed

Run in-memory / start-from #2486

graydon opened this issue Mar 30, 2020 · 1 comment
Assignees

Comments

@graydon
Copy link
Contributor

graydon commented Mar 30, 2020

As part of the work on captive stellar-cores for faster horizon ingestion (eg. stellar/go#2322), stellar-core run command might need to be modified to operate in-memory only.

If so, it will also need a new flag indicating which ledger to "start from" -- passed from horizon indicating horizon's last-ingested ledger -- meaning "do an offline catchup to N, not emitting metadata, and then an online catchup from N, emitting metadata during replay".

If however we're not storing ledger state in memory for online captive cores, we can have horizon just run two commands when initiating a captive core: once to offline-catchup, and once to run.

@graydon graydon self-assigned this Mar 30, 2020
@MonsieurNicolas
Copy link
Contributor

duplicate of #2634

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants