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

trie: remove node ordering slice in sync batch #19929

Merged
merged 2 commits into from
Oct 28, 2019

Commits on Aug 8, 2019

  1. core, eth/downloader, trie: get rid of trie node order

    When we flush a batch of trie nodes into database during the state
    sync, we should guarantee that all children should be flushed before
    parent.
    
    Actually the trie nodes commit order is strict by: children -> parent.
    But when we flush all ready nodes into db, actually we don't need order
    anymore since
        (1) they are all ready nodes(no more dependency)
        (2) underlying database(e.g.) can provide write atomicity
    rjl493456442 committed Aug 8, 2019
    Configuration menu
    Copy the full SHA
    061a6c9 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2019

  1. Configuration menu
    Copy the full SHA
    a387484 View commit details
    Browse the repository at this point in the history