bsc/core/rawdb
NathanBSC 202ab70922
Big merge v1.10.16 v1.12.2 fix ci (#1850)
* fix: crash of highestVerifiedHeader

* fix: panic of blobpool

* fix: genesis set up

* 1. modify NewDatabaseWithNodeDB to upstream
2. fix race use of hasher in statedb
3. fix use wrong value when updateTrie

* fix dir legacypool

* fix dir blobpool

* fix dir vote

* remove diffsync related code

* fix core/state/snapshot

* disable pipeCommit for now

* fix applyTransaction for bloom setting

* CI: fast finality in gasprice test

* CI: diffFetcher was removed

* CI: downloader, remove beaconsync test

* CI: no beaconsync in downloader, remove a failed case

TestCheckpointChallenge was removed in:
https://github.com/ethereum/go-ethereum/pull/27147
since after merge, it is useless for ethereum, but might be useful for BSC.
disable the case right now, as it is not a big issue.

* CI: bsc protocol decHandlers

* CI: receipt Bloom process

* 1. skip CheckConfigForkOrder for non-parlia engine
2. all test cases in core work well now
	cd core && go test ./... -v

* fix test cases in trie dir

* CI: no beaconsync in downloader, remove a failed case(redo)

* fix dir miner

* fix dir cmd/geth

* CI: filter test, BaseFee & Finality

* fix dir graphql

* remove diffStore

* fix ethclient

* fix TestRPCGetTransactionReceipt

* fix dir internal

* ut add dir ethstats and signer

* disable pipeCommit thoroughly; fix concurrent map iteration and map write in statedb

* CI: fix snap sync

it could be changed by mistake

* fix tests/Run to generate snapshot

* prepare for merge

* remove useless

* use common hasher in getDeletedStateObject, no race here

* an critical comment for state.Prepare

* do not copy nil accessList

* add omitempty tag for unused new fields of core.Genesis

* remove totalFees

* calculate fees before FinalizeAndAssemble

* revert interface Finalize of consensus

* do not double gas limit upon london block

* use Leveldb as default

* Revert "remove diffStore"

This reverts commit df343b137412b0beb25298a6ba9c3c19e47f20b1.

* Revert "remove diffsync related code"

This reverts commit 8d84b81feae5d794cb5d7fcfdb7f5f7da751941b.

* compile pass after revert

* remove diffsync

* fix dir eth/protocols/trust

* fix TestFastNode

* decHandlers for trust protocol

* keep persist diff in test
2023-09-07 16:39:29 +08:00
..
testdata core/rawdb: avoid unnecessary receipt processing for log filtering (#23147) 2021-09-28 12:54:49 +02:00
accessors_chain_test.go Big merge v1.10.16 v1.12.2 fix ci (#1850) 2023-09-07 16:39:29 +08:00
accessors_chain.go Merge branch 'develop' into big_merge_v1.10.16_v1.12.2 2023-08-23 19:37:39 +08:00
accessors_indexes_test.go Big merge v1.10.16 v1.12.2 fix ci (#1850) 2023-09-07 16:39:29 +08:00
accessors_indexes.go core/types, params: add blob transaction type, RLP encoded for now (#27049) 2023-04-21 12:52:02 +03:00
accessors_metadata.go upstream: Merge tag 'v1.12.2' into develop 2023-08-23 17:46:08 +08:00
accessors_snapshot.go core/rawdb: add specified key length iterator (#24535) 2022-03-15 10:28:26 +02:00
accessors_state.go all: implement path-based state scheme (#25963) 2023-08-01 15:17:32 +03:00
accessors_trie.go all: implement path-based state scheme (#25963) 2023-08-01 15:17:32 +03:00
ancient_scheme.go upstream: Merge tag 'v1.12.2' into develop 2023-08-23 17:46:08 +08: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 upstream: Merge tag 'v1.12.2' into develop 2023-08-23 17:46:08 +08:00
chain_iterator_test.go all: update golang/x/ext and fix slice sorting fallout (#27909) 2023-08-12 00:19:12 +02:00
chain_iterator.go upstream: Merge tag 'v1.12.2' into develop 2023-08-23 17:46:08 +08:00
database_test.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
database.go Big merge v1.10.16 v1.12.2 fix ci (#1850) 2023-09-07 16:39:29 +08: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 upstream: Merge tag 'v1.12.2' into develop 2023-08-23 17:46:08 +08: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 upstream: Merge tag 'v1.12.2' into develop 2023-08-23 17:46:08 +08:00
freezer_resettable.go upstream: Merge tag 'v1.12.2' into develop 2023-08-23 17:46:08 +08:00
freezer_table_test.go Big merge v1.10.16 v1.12.2 fix ci (#1850) 2023-09-07 16:39:29 +08:00
freezer_table.go core/rawdb: support freezer batch read with no size limit (#27687) 2023-07-12 03:19:01 -04:00
freezer_test.go upstream: Merge tag 'v1.12.2' into develop 2023-08-23 17:46:08 +08:00
freezer_utils_test.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00
freezer_utils.go core/rawdb: support freezer batch read with no size limit (#27687) 2023-07-12 03:19:01 -04:00
freezer.go upstream: Merge tag 'v1.12.2' into develop 2023-08-23 17:46:08 +08: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
prunedfreezer.go upstream: Merge tag 'v1.12.2' into develop 2023-08-23 17:46:08 +08:00
schema.go upstream: Merge tag 'v1.12.2' into develop 2023-08-23 17:46:08 +08:00
table_test.go all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00
table.go upstream: Merge tag 'v1.12.2' into develop 2023-08-23 17:46:08 +08:00