plugeth/trie
Guillaume Ballet f67e54c92f
core: use TryGetAccount to read what TryUpdateAccount has written (#25458)
* core: use TryGetAccount to read where TryUpdateAccount has been used to write

* Gary's review feedback

* implement Gary's suggestion

* fix bug + rename NewSecure into NewStateTrie

* trie: add backwards-compatibility aliases for SecureTrie

* Update database.go

* make the linter happy

Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2022-08-04 16:13:18 +02:00
..
committer.go core, trie: rework trie committer (#25320) 2022-08-04 11:03:20 +03:00
database_test.go trie: there's no point in retrieving the metaroot 2019-04-05 13:09:28 +03:00
database.go core, trie: rework trie committer (#25320) 2022-08-04 11:03:20 +03:00
encoding_test.go trie: use stacktrie for Derivesha operation (#21407) 2020-09-29 17:38:13 +02:00
encoding.go trie: use stacktrie for Derivesha operation (#21407) 2020-09-29 17:38:13 +02:00
errors.go all: introduce trie owner notion (#24750) 2022-06-06 17:14:55 +02:00
hasher.go trie: fix typo in comment (#25241) 2022-07-06 08:49:09 +02:00
iterator_test.go core: use TryGetAccount to read what TryUpdateAccount has written (#25458) 2022-08-04 16:13:18 +02:00
iterator.go core, trie: rework trie committer (#25320) 2022-08-04 11:03:20 +03:00
node_enc.go rlp, trie: faster trie node encoding (#24126) 2022-03-09 14:45:17 +01:00
node_test.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
node.go rlp, trie: faster trie node encoding (#24126) 2022-03-09 14:45:17 +01:00
nodeset.go core, trie: rework trie committer (#25320) 2022-08-04 11:03:20 +03:00
preimages.go core, trie, eth, cmd: rework preimage store (#25287) 2022-07-27 20:37:04 +02:00
proof_test.go all: introduce trie owner notion (#24750) 2022-06-06 17:14:55 +02:00
proof.go core: use TryGetAccount to read what TryUpdateAccount has written (#25458) 2022-08-04 16:13:18 +02:00
secure_trie_test.go core: use TryGetAccount to read what TryUpdateAccount has written (#25458) 2022-08-04 16:13:18 +02:00
secure_trie.go core: use TryGetAccount to read what TryUpdateAccount has written (#25458) 2022-08-04 16:13:18 +02:00
stacktrie_test.go all: add whitespace linter (#25312) 2022-07-25 13:14:03 +03:00
stacktrie.go all: introduce trie owner notion (#24750) 2022-06-06 17:14:55 +02:00
sync_test.go core: use TryGetAccount to read what TryUpdateAccount has written (#25458) 2022-08-04 16:13:18 +02:00
sync.go trie: fix 'gosimple' lint issue (#25309) 2022-07-15 18:36:05 +02:00
trie_test.go core, trie: rework trie committer (#25320) 2022-08-04 11:03:20 +03:00
trie.go core: use TryGetAccount to read what TryUpdateAccount has written (#25458) 2022-08-04 16:13:18 +02:00
util_test.go core, trie: rework trie committer (#25320) 2022-08-04 11:03:20 +03:00
utils.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00