Skip to content

Storehouse M4: Network-Wide Storehouse Enablement #8112

@zhangchiqing

Description

@zhangchiqing

Goal

  • All ENs will be running storehouse. Since no EN is running mTrie, the network can support a larger execution state. In other words, mTrie EN can be deprecated.
  • Storehouse EN is able to support sporks (Currently sporks require mTrie EN).

Implementation Details

  1. Storehouse ENs can generate root checkpoints by reconstructing payloads into the payloadless trie using data from the on-disk register store.
  2. WALs (write-ahead logs) for the trie are persisted to disk only after blocks are sealed.
  3. Checkpoints contain a single trie whose root hash is finalized (sealed).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions