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

Support for big ledger peer snapshot in the topology file #5787

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Nov 13, 2024

  1. Support for big ledger peer snapshot

    This change introduces support for big ledger peers in the node.
    A new optional entry in network topology JSON parser is added that is intended
    to point to a path containing a serialized snapshot of big ledger peers
    taken from some slot a priori. When present, this file is decoded
    at node startup, or when a SIGHUP is triggered, and made available
    to the diffusion layer via reading from a TVar.
    crocodile-dentist committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    6762467 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d81c1f View commit details
    Browse the repository at this point in the history
  3. Added ConsensusMode option and Genesis targets for diffusion governors.

    The ConsensusMode configuration option determines whether support for
    Genesis syncing is enabled. If this flag is GenesisMode, alternate
    targets for active peers (non- big ledger) and all big ledger targets
    is used by the peer selection and churn governors in the diffusion
    layer. These targets are in effect when ledger state is deemed
    `TooOld` by consensus layer. The large active big ledger peer targets
    crucially depend on chain skipping to maintain performance
    requirements. Otherwise, in PraosMode, the legacy algorithm with
    a single set of targets is employed.
    crocodile-dentist committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    f5a4215 View commit details
    Browse the repository at this point in the history
  4. Integrate o-network and o-consensus

    Missing updating Node Configuration parser to read genesis targets and
    ledger snapshot.
    crocodile-dentist committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    982cd1d View commit details
    Browse the repository at this point in the history