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(bootstrap): More efficient snarked ledger synchronization #292

Merged
merged 4 commits into from Mar 29, 2024

Commits on Mar 29, 2024

  1. fix(ledger): When copying root masks, copy the hashes matrix too

    If this is not done, the cloned mask will need to recompute its internal hashes, which is expensive.
    tizoc committed Mar 29, 2024
    Copy the full SHA
    0fa5b5b View commit details
    Browse the repository at this point in the history
  2. feat(bootstrap): Implement optimized ledger sync mechanism

    fixup(bootstrap): adjust enabling conditions
    
    review: fix to where mid-sync ledgers are stored and retrieved from
    
    review: Split num accounts fetch vs merkle tree sync states in transition frontier
    
    review: rename some sync status fields to make them less ambiguous
    
    fix(transition-frontier): Check that the ledger doesn't exist in the sync snarked ledgers
    
    feat(transition-frontier): Make copying of ledgers for sync more strict
    
    fix(transition-frontier): Fix ledger copying handling for current state machine that produces the genesis block and syncs immediately
    
    refactor(transition-frontier): Remove some code duplication
    
    refactor(transition-frontier): Add success states for NumAccounts and MerkleTreeSync (WIP)
    
    feat(transition-frontier): Implement missing enabling conditions
    tizoc committed Mar 29, 2024
    Copy the full SHA
    564c7ed View commit details
    Browse the repository at this point in the history
  3. chore: Update action_kind.rs

    tizoc committed Mar 29, 2024
    Copy the full SHA
    ff2137c View commit details
    Browse the repository at this point in the history
  4. chore: Update status.md

    tizoc committed Mar 29, 2024
    Copy the full SHA
    549e600 View commit details
    Browse the repository at this point in the history