aboutsummaryrefslogtreecommitdiffstats
path: root/trie/sync_test.go
Commit message (Collapse)AuthorAgeFilesLines
* rlp, trie, contracts, compression, consensus: improve comments (#14580)S. Matthew English2017-06-121-3/+3
|
* trie: add start key to NodeIterator constructorsFelix Lange2017-04-251-1/+1
| | | | | | | | | The 'step' method is split into two parts, 'peek' and 'push'. peek returns the next state but doesn't make it current. The end of iteration was previously tracked by setting 'trie' to nil. End of iteration is now tracked using the 'iteratorEnd' error, which is slightly cleaner and requires less code.
* trie: clean up iterator constructorsFelix Lange2017-04-251-1/+1
| | | | | | | Make it so each iterator has exactly one public constructor: - NodeIterators can be created through a method. - Iterators can be created through NewIterator on any NodeIterator.
* trie: add difference iterator (#3637)Nick Johnson2017-02-231-2/+2
| | | | | This PR implements a differenceIterator, which allows iterating over trie nodes that exist in one trie but not in another. This is a prerequisite for most GC strategies, in order to find obsolete nodes.
* all: fix issues reported by honnef.co/go/simple/cmd/gosimpleFelix Lange2017-01-071-1/+1
|
* all: gofmt -w -sFelix Lange2017-01-061-2/+2
|
* trie: remove dependency on ethdbFelix Lange2017-01-061-6/+6
| | | | This removes the core/types -> leveldb dependency.
* core/state, eth/downloader, trie: reset fast-failure on progressPéter Szilágyi2016-10-311-6/+6
|
* core, trie: replace state caches with trie journalFelix Lange2016-09-281-9/+0
|
* core/state, trie: switch iterator panics to error fieldsPéter Szilágyi2016-02-161-12/+6
|
* core/state, trie: surface iterator entry hashesPéter Szilágyi2016-02-161-2/+1
|
* core/state, trie: add node iterator, test state/trie sync consistencyPéter Szilágyi2016-02-161-5/+97
|
* core, eth, trie: direct state trie synchronizationPéter Szilágyi2015-10-191-0/+257