bsc/core/rawdb
rjl493456442 99f81d2724
all: refactor trie API (#26995)
In this PR, all TryXXX(e.g. TryGet) APIs of trie are renamed to XXX(e.g. Get) with an error returned.

The original XXX(e.g. Get) APIs are renamed to MustXXX(e.g. MustGet) and does not return any error -- they print a log output. A future PR will change the behaviour to panic on errorrs.
2023-04-20 06:57:24 -04:00
..
testdata core/rawdb: avoid unnecessary receipt processing for log filtering (#23147) 2021-09-28 12:54:49 +02:00
accessors_chain_test.go all: use unified emptyRootHash and emptyCodeHash (#26718) 2023-02-21 06:12:27 -05:00
accessors_chain.go core/types: add EffectiveGasPrice in Receipt (#26713) 2023-03-06 17:19:41 +01:00
accessors_indexes_test.go all: refactor trie API (#26995) 2023-04-20 06:57:24 -04:00
accessors_indexes.go core/rawdb: fix logs to print block number, not address (#23328) 2021-08-04 11:10:37 +03:00
accessors_metadata.go core: fix accessor mismatch for genesis state (#26747) 2023-02-21 12:18:33 +02:00
accessors_snapshot.go core/rawdb: add specified key length iterator (#24535) 2022-03-15 10:28:26 +02:00
accessors_state.go all: prepare for path-based trie storage (#26603) 2023-02-06 10:28:40 -05:00
accessors_sync.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
accessors_trie.go all: prepare for path-based trie storage (#26603) 2023-02-06 10:28:40 -05:00
ancient_scheme.go core, eth: merge snap-sync chain download progress logs (#26676) 2023-02-21 12:17:34 +02:00
ancient_utils.go core/rawdb: refactor db inspector for extending multiple ancient store (#25896) 2022-10-28 10:23:49 +02:00
chain_freezer.go core/rawdb: use atomic int added in go1.19 (#26935) 2023-03-21 07:10:23 -04:00
chain_iterator_test.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
chain_iterator.go core/rawdb: use atomic int added in go1.19 (#26935) 2023-03-21 07:10:23 -04:00
database_test.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
database.go core/rawdb: use atomic int added in go1.19 (#26935) 2023-03-21 07:10:23 -04:00
databases_64bit.go core/rawdb, ethdb/pebble: disable pebble on openbsd (#26801) 2023-03-03 12:05:00 +02:00
databases_non64bit.go core/rawdb, ethdb/pebble: disable pebble on openbsd (#26801) 2023-03-03 12:05:00 +02:00
freezer_batch.go core/rawdb: use atomic int added in go1.19 (#26935) 2023-03-21 07:10:23 -04:00
freezer_meta_test.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
freezer_meta.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
freezer_resettable_test.go core/rawdb: implement resettable freezer (#26324) 2022-12-19 04:59:12 -05:00
freezer_resettable.go core/rawdb: implement resettable freezer (#26324) 2022-12-19 04:59:12 -05:00
freezer_table_test.go core/rawdb: use atomic int added in go1.19 (#26935) 2023-03-21 07:10:23 -04:00
freezer_table.go core/rawdb: update freezertable read meter (#26946) 2023-03-23 03:34:40 -04:00
freezer_test.go core/rawdb: use atomic int added in go1.19 (#26935) 2023-03-21 07:10:23 -04:00
freezer_utils_test.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00
freezer_utils.go all: replace uses of ioutil with io and os (#24869) 2022-05-16 11:59:35 +02:00
freezer.go core/rawdb: use atomic int added in go1.19 (#26935) 2023-03-21 07:10:23 -04:00
key_length_iterator_test.go core/rawdb: add specified key length iterator (#24535) 2022-03-15 10:28:26 +02:00
key_length_iterator.go core/rawdb: add specified key length iterator (#24535) 2022-03-15 10:28:26 +02:00
schema.go all: prepare for path-based trie storage (#26603) 2023-02-06 10:28:40 -05:00
table_test.go all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00
table.go core/rawdb: untie freezer and ancient chain data (#24684) 2022-05-06 13:28:42 +02:00