bsc/light
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
..
lightchain_test.go consensus/clique, core: API cleanup (#23100) 2021-10-11 23:16:46 +02:00
lightchain.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00
nodeset.go all: integrate the freezer with fast sync 2019-05-16 10:39:32 +03:00
odr_test.go all: introduce trie owner notion (#24750) 2022-06-06 17:14:55 +02:00
odr_util.go les, light: improve txstatus retrieval (#22349) 2021-02-25 14:24:04 +01:00
odr.go les, light: improve txstatus retrieval (#22349) 2021-02-25 14:24:04 +01:00
postprocess.go core, trie: rework trie committer (#25320) 2022-08-04 11:03:20 +03:00
trie_test.go light: fix differTries err message in tests (#25358) 2022-07-25 12:54:31 +03:00
trie.go core: use TryGetAccount to read what TryUpdateAccount has written (#25458) 2022-08-04 16:13:18 +02:00
txpool_test.go accounts/abi/bind: fix bounded contracts and sim backend for 1559 (#23038) 2021-06-15 13:56:14 +03:00
txpool.go eth, internal, light: fix error string capitalization (#25364) 2022-07-25 12:53:44 +03:00