Skip to content

spec: define syncing protocols #22

Open

Description

@lasarojc

Was tendermint/tendermint#8219

Summary

Our current spec has no mention for the syncing protocols that CometBFT uses: block sync and state sync. It would be good to write one up these so people can use it to quickly understand how each of them work.

Activity

  1. added
    backlog
    on Dec 23, 2022
  2. added
    spec
    on Jan 27, 2023
  3. josef-widder commented on Jan 27, 2023

    @josef-widder
    Contributor

    For Informal's contract with the ICF a long time ago, we have written a spec for FastSync, which is now called "Block sync". I think this might be a good starting point for a high-level specification for Block sync. I am happy to discuss the old work whenever someone takes on this issue.

  4. josef-widder commented on Jan 30, 2023

    @josef-widder
    Contributor

    For blocksync there is also a description of the current behavior by @jmalicevic. If we could compile this, and the part on temporal properties (invariants) from the Fastsync spec above, we should be able to get a blocksync spec quite quickly.

  5. cason commented on Apr 19, 2023

    @cason

    Regarding state sync, as part of #28, I've found the following documentation and specs:

    • docs/core/state-sync.md:

      • very basic information of how to enable state sync
      • lacks from a good introduction and general description
      • check if in line with the [statesync] block on the configuration
    • spec/p2p/messages/state-sync.md:

      • documents the messages exchanged by the protocol, not really its operation
      • referred as existing specification on the remaining documents
    • spec/abci/abci++_basic_concepts.md:

      • State-sync methods section, a good summary of state sync
      • reference for the ABCI methods used by block sync
    • spec/abci/abci++_app_requirements.md:

      • State Sync section is probably the best description and documentation we have
      • the point of view, however, is the application, target for application developers
  6. added 2 commits that reference this issue on May 1, 2024
  7. added a commit that references this issue on Apr 18, 2025
  8. added a commit that references this issue on Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogspec

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions