Struct ethcore::snapshot::StateRebuilder[][src]

pub struct StateRebuilder { /* fields omitted */ }

Used to rebuild the state trie piece by piece.

Methods

impl StateRebuilder
[src]

Create a new state rebuilder to write into the given backing DB.

Feed an uncompressed state chunk into the rebuilder.

Finalize the restoration. Check for accounts missing code and make a dummy journal entry. Once all chunks have been fed, there should be nothing missing.

Get the state root of the rebuilder.

Auto Trait Implementations

impl Send for StateRebuilder

impl Sync for StateRebuilder