go-ethereum/trie
Felix Lange c3a77d6268 trie: fix delete bug for values contained in fullNode
Delete crashed if a fullNode contained a valueNode directly. This bug is
very unlikely to occur with SecureTrie, but can happen with regular
tries. This commit also introduces a randomised test which triggers all
trie operations, which should prevent such bugs in the future.

Credit for finding this bug goes to Github user @rjl493456442.
2016-09-29 22:53:59 +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 core, trie: replace state caches with trie journal 2016-09-28 11:27:28 +03:00
iterator_test.go core, trie: replace state caches with trie journal 2016-09-28 11:27:28 +03:00
iterator.go core, trie: replace state caches with trie journal 2016-09-28 11:27:28 +03:00
node.go core, core/state, trie: enterprise hand-tuned multi-level caching 2016-05-26 16:33:09 +03:00
proof_test.go all: fix go vet warnings 2016-04-15 11:17:27 +02:00
proof.go core, trie: replace state caches with trie journal 2016-09-28 11:27:28 +03:00
secure_trie_test.go core, eth, trie: reuse trie journals in all our code 2016-09-28 11:27:31 +03:00
secure_trie.go core, eth, trie: reuse trie journals in all our code 2016-09-28 11:27:31 +03:00
sync_test.go core, trie: replace state caches with trie journal 2016-09-28 11:27:28 +03:00
sync.go Merge pull request #2627 from karalabe/concurrent-head-sync 2016-05-31 11:52:16 +03:00
trie_test.go trie: fix delete bug for values contained in fullNode 2016-09-29 22:53:59 +02:00
trie.go trie: fix delete bug for values contained in fullNode 2016-09-29 22:53:59 +02:00