forked from cerc-io/plugeth
681618275c
This PR implements the following modifications - Don't shortcut check if block is present, thus avoid disk lookup - Don't check hash ancestry in early-check (it's still done in parallel checker) - Don't check time.Now for every single header Charts and background info can be found here: https://github.com/holiman/headerimport/blob/main/README.md With these changes, writing 1M headers goes down to from 80s to 62s. |
||
---|---|---|
.. | ||
accessors_chain_test.go | ||
accessors_chain.go | ||
accessors_indexes_test.go | ||
accessors_indexes.go | ||
accessors_metadata.go | ||
accessors_snapshot.go | ||
accessors_state.go | ||
chain_iterator_test.go | ||
chain_iterator.go | ||
database.go | ||
freezer_table_test.go | ||
freezer_table.go | ||
freezer.go | ||
schema.go | ||
table_test.go | ||
table.go |