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

feat(cryptarchia): add cryptarchia v1 chain synchronization #119

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

youngjoon-lee
Copy link
Contributor

@youngjoon-lee youngjoon-lee commented Mar 5, 2025

This PR defines the Cryptarchia chain sync protocol. Please read the spec document that explains the rationale and examples.

The sync.py contains all algorithms. You can find many test cases from test_sync.py.

The common_prefix_depth function in the cryptarchia.py has slightly changed to support the backfilling mechanism, which doesn't rely on the local LedgerStates. Except this, there is no significant change in the cryptarchia.py.

@youngjoon-lee youngjoon-lee self-assigned this Mar 5, 2025
@youngjoon-lee youngjoon-lee marked this pull request as ready for review March 5, 2025 15:59
@youngjoon-lee youngjoon-lee requested review from davidrusu, zeegomo and danielSanchezQ and removed request for davidrusu March 5, 2025 15:59
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