ecdbb402ee
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, we don't need the order anymore since (1) they are all ready nodes (no more dependency) (2) underlying database provides write atomicity |
||
---|---|---|
.. | ||
database.go | ||
dump.go | ||
iterator_test.go | ||
iterator.go | ||
journal.go | ||
main_test.go | ||
state_object_test.go | ||
state_object.go | ||
state_test.go | ||
statedb_test.go | ||
statedb.go | ||
sync_test.go | ||
sync.go |