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

MTG-703 Adding peer to peer consistency checks #316

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

snorochevskiy
Copy link
Contributor

@snorochevskiy snorochevskiy commented Nov 19, 2024

This pull request contains full implementation of peer to peer2 consistency checking and missing blocks fetching for bubblegum and account nfts.

It includes:

  • storing of change records for newly received bubblegum changes and account NFT accounts
  • calculation of bubblegum epochs checksums and account buckets checksums at the end of the "epoch" (10000 slots)
  • periodical requesting of checksums from peers, comparison with own checksums, search for missing changes, and requesting of identified missed blocks from peers

Design document:
https://github.com/metaplex-foundation/aura/wiki/Data-consistency-for-peer%E2%80%90to%E2%80%90peer-indexers

@snorochevskiy snorochevskiy force-pushed the feature/mtg-703-peer2peer_consistency branch from 71319ac to 002990c Compare November 26, 2024 19:35
@snorochevskiy snorochevskiy force-pushed the feature/mtg-703-peer2peer_consistency branch from 002990c to 46d522d Compare November 26, 2024 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant