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

ChainSync client: allow to prevent historical MsgRollBackward/MsgAwaitReply #1186

Merged
merged 4 commits into from
Sep 5, 2024

Commits on Sep 4, 2024

  1. HeaderStateHistory: also store slot time

    This is in preparation for allowing to prevent historical rollbacks.
    amesgen committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    83a2e02 View commit details
    Browse the repository at this point in the history
  2. HeaderStateHistory.rewind: return oldest rewound state

    This is in preparation for allowing to prevent historical rollbacks.
    amesgen committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    e699dec View commit details
    Browse the repository at this point in the history
  3. ChainSync client: allow to prevent historical messages

    Concretely, `MsgRollBackward` and `MsgAwaitReply` beyond a certain age
    amesgen committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    51ee1e3 View commit details
    Browse the repository at this point in the history
  4. ChainSync client test: enrich with historicity check

    We only test for false positives, not for false negatives.
    amesgen committed Sep 4, 2024
    Configuration menu
    Copy the full SHA
    0be8e0a View commit details
    Browse the repository at this point in the history