plugeth/trie
Felix Lange 177cab5fe7 trie: ensure resolved nodes stay loaded
Commit 40cdcf1183 broke the optimisation which kept nodes resolved
during Get in the trie. The decoder assigned cache generation 0
unconditionally, causing resolved nodes to get flushed on Commit.

This commit fixes it and adds two tests.
2016-10-18 04:57:47 +02:00
..
encoding_test.go light: implemented odr-capable trie and state structures 2015-12-17 16:07:54 +01:00
encoding.go light: implemented odr-capable trie and state structures 2015-12-17 16:07:54 +01:00
errors.go all: update license information 2016-04-15 09:48:05 +02:00
hasher.go trie: ensure resolved nodes stay loaded 2016-10-18 04:57:47 +02:00
iterator_test.go core, trie: replace state caches with trie journal 2016-09-28 11:27:28 +03:00
iterator.go trie, core/state: improve memory usage and performance (#3135) 2016-10-14 19:04:33 +03:00
node_test.go trie, core/state: improve memory usage and performance (#3135) 2016-10-14 19:04:33 +03:00
node.go trie: ensure resolved nodes stay loaded 2016-10-18 04:57:47 +02:00
proof_test.go all: fix go vet warnings 2016-04-15 11:17:27 +02:00
proof.go trie: ensure resolved nodes stay loaded 2016-10-18 04:57:47 +02:00
secure_trie_test.go trie, core/state: improve memory usage and performance (#3135) 2016-10-14 19:04:33 +03:00
secure_trie.go trie, core/state: improve memory usage and performance (#3135) 2016-10-14 19:04:33 +03:00
sync_test.go core, trie: replace state caches with trie journal 2016-09-28 11:27:28 +03:00
sync.go trie: ensure resolved nodes stay loaded 2016-10-18 04:57:47 +02:00
trie_test.go trie: ensure resolved nodes stay loaded 2016-10-18 04:57:47 +02:00
trie.go trie: ensure resolved nodes stay loaded 2016-10-18 04:57:47 +02:00