bsc/core/rawdb
lx e2bf0f3fbd
fix: lagging nodes failed to sync (#1829)
FastFinality puts more infor into the header.extra field to keep vote information.
For mainnet, on epoch height, it could be 1526 bytes, which was 517 bytes before.
So the hardcoded 700 bytes for header could be no longer enough, increase it by
2 times would be enough.

this bug could cause P2P sync failure for nodes that are lagging behind, since they
would request access of ancient db, and GetBlockHeaders could be failed.
2023-08-21 10:31:18 +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 fix bug #1034, offline tool start failed when start with pruneancient 2022-08-16 14:02:45 +08:00
accessors_chain.go fix: lagging nodes failed to sync (#1829) 2023-08-21 10:31:18 +08:00
accessors_indexes_test.go clean: Remove support for Ethereum testnet (#1337) 2023-03-06 19:53:13 +08: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 [R4R]fix: tools broken because of writting metadata when open a readyonly db (#1013) 2022-07-25 09:56:17 +08:00
accessors_snapshot.go eth: request id dispatcher and direct req/reply APIs (#23576) 2021-11-26 13:26:03 +02:00
accessors_state.go core/rawdb: add HasCode, HashTrieNode and use them where possible (#24454) 2022-08-22 14:43:14 +08:00
chain_iterator_test.go core/rawdb: fix transaction indexing/unindexing hashing error (#22457) 2021-03-16 12:15:14 +02:00
chain_iterator.go consensus, core/rawdb, miner: downgrade logs (#1662) 2023-05-31 22:01:28 +08:00
database_test.go eth/protocols/snap: generate storage trie from full dirty snap data (#22668) 2021-04-27 17:19:59 +03:00
database.go fix comments: prune ancient compatibility, add prune ancient comments 2022-12-22 20:07:55 +08:00
freezer_batch.go [R4R]db: freezer batch compatible offline prunblock command (#1005) 2022-07-22 16:11:34 +08:00
freezer_table_test.go [R4R]db: freezer batch compatible offline prunblock command (#1005) 2022-07-22 16:11:34 +08:00
freezer_table.go core/rawdb: enforce readonly in freezer instantiation (#24119) 2022-01-18 11:29:38 +02:00
freezer_test.go [R4R]db: freezer batch compatible offline prunblock command (#1005) 2022-07-22 16:11:34 +08:00
freezer.go dep: bump the version of several important library (#1274) 2023-02-02 19:36:37 +08:00
prunedfreezer.go fix comments: prune ancient compatibility, add prune ancient comments 2022-12-22 20:07:55 +08:00
schema.go code: x = append(y) is equivalent to x = y (#866) 2023-05-06 10:43:44 +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 core: preallocate batch size in bloomIndexer (#25289) 2022-12-16 17:30:34 +08:00