go-ethereum/trie
Felix Lange 968ab8aa4f [release/1.4.15] 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.

(cherry picked from commit c3a77d626831b4ffe37ed4f8640e67e70ad5b220)
2016-10-03 11:23:56 +03: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 [release/1.4.14] core, trie: replace state caches with trie journal 2016-09-28 13:32:10 +03:00
iterator_test.go [release/1.4.14] core, trie: replace state caches with trie journal 2016-09-28 13:32:10 +03:00
iterator.go [release/1.4.14] core, trie: replace state caches with trie journal 2016-09-28 13:32:10 +03:00
node.go [release/1.4.6] core, core/state, trie: enterprise hand-tuned multi-level caching 2016-06-06 16:21:39 +03:00
proof_test.go all: fix go vet warnings 2016-04-15 11:17:27 +02:00
proof.go [release/1.4.14] core, trie: replace state caches with trie journal 2016-09-28 13:32:10 +03:00
secure_trie_test.go [release/1.4.14] core, eth, trie: reuse trie journals in all our code 2016-09-28 13:32:12 +03:00
secure_trie.go [release/1.4.14] core, eth, trie: reuse trie journals in all our code 2016-09-28 13:32:12 +03:00
sync_test.go [release/1.4.14] core, trie: replace state caches with trie journal 2016-09-28 13:32:10 +03:00
sync.go [release/1.4.6] eth/downloader, trie: pull head state concurrently with chain 2016-06-06 16:21:49 +03:00
trie_test.go [release/1.4.15] trie: fix delete bug for values contained in fullNode 2016-10-03 11:23:56 +03:00
trie.go [release/1.4.15] trie: fix delete bug for values contained in fullNode 2016-10-03 11:23:56 +03:00