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

Switch to stellar-core run-from command when added to Stellar-Core #2842

Closed
bartekn opened this issue Jul 22, 2020 · 1 comment
Closed

Switch to stellar-core run-from command when added to Stellar-Core #2842

bartekn opened this issue Jul 22, 2020 · 1 comment
Assignees

Comments

@bartekn
Copy link
Contributor

bartekn commented Jul 22, 2020

In stellar/stellar-core#2634, we proposed to add a new command to stellar-core: run-from [starting_ledger] that would start streaming from starting_ledger to the latest closed by a network and then would continue streaming new ledgers as they are closed.

The current workaround we use when starting a new captive session is the following chain of commands that use a persistent DB:

  • stellar-core new-db,
  • stellar-core catchup [starting_ledger-1]/0,
  • stellar-core run.

While it works fine, it has some disadvantages:

  • It requires specifying a DB connection and maintaining a DB.
  • Applying buckets stage is much slower when using a disk vs RAM.
  • stellar-core run execution can be slow when it needs to wait for the next checkpoint.

The new command would solve all the issues above.

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