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

Draft: Recover SCP messages when replaying from history #4156

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 23, 2024

  1. Draft: Recover SCP messages when replaying from history

    This PR enables updating the `scphistory` table during catchup from
    history. It allows users to specify which archives to use via the
    `SCP_HISTORY_ARCHIVES` config option. If a user specifies multiple
    archives, stellar-core will merge the messages from the archives.
    
    This is a draft PR because I'm looking for feedback on the approach, but
    still have some work to do before it is in a mergeable state.
    Most of the remaining work is to:
    
    * Document the new functionality
    * Write additional tests for:
      * Merging
      * Failed downloads
      * No `SCP_HISTORY_ARCHIVES`
      * Multiple `SCP_HISTORY_ARCHIVES`
      * Changes to `ReplayDebugMetaWork`
    * Integrate changes from stellar#4121
    * Address other `TODO`s in the changes
    bboston7 committed Jan 23, 2024
    Configuration menu
    Copy the full SHA
    112044c View commit details
    Browse the repository at this point in the history