joeycli
6d082af0f3
feat: add prefetcher
2024-09-09 14:22:11 +08:00
joeycli
089845c5f3
chore: add statedb get metrices
2024-09-06 14:06:47 +08:00
joeycli
d7e873c28c
fix: delete redundancy state close
2024-09-06 09:14:55 +08:00
joeycli
f646d4f1c0
feat: support version and root as key to state
...
fix: genesis version to -1
fix: copy with version
fix: change version type from uint64 to int64
fix: set genesis for rewind
2024-09-05 14:55:49 +08:00
joeycli
eaddc87def
fix: check version and root when rewind
...
fix: rewind for genesis
2024-09-04 15:49:06 +08:00
joeycli
2c59e15b7a
chore: add validate metrics
2024-09-04 10:21:33 +08:00
joeycli
a5e12fe178
feat: support rewind for versa db
...
fix: rewind ancient store
2024-09-02 17:35:32 +08:00
joeycli
4ed6b8e36f
chore: add execute, verify and commit total metrics
2024-09-02 09:12:54 +08:00
joeycli
b76062c354
fix: rewind ancient store
2024-09-01 12:09:00 +08:00
joeycli
b298f4b6e6
chore: add mgasps metrics
2024-08-29 16:40:46 +08:00
joeycli
3e8e74d5c2
feat: delete statedb debug system
2024-08-27 09:29:24 +08:00
joeycli
d20bbb4799
feat: integrate versa db
...
feat: add version commit
chore: forbid versiondb rewind
feat: add mode for new caching db
feat: add version scheme for startup
feat: init genesis for versa db
feat: add caching db and trie copy
feat: support HasState on versa db and must fullsync under versa db
fix: append open strorage trie error to statedb
fix: storage tree value encode
fix: add state object trie expire interface
fix: blockchain stateat use rw state
chore: forbid prefetcher
chore: delete storage pool
feat: hold version in state objet for repeat search account tree
fix: version mismatch that add contract balance without update storage tree
fix: 373559 blocks issue add breakpoint
feat: add version state debug system
feat: add hash state db debug system
feat: add version and hash state diff system
fix: the timing release debug state instance
2024-08-27 09:01:25 +08:00
NathanBSC
c6cb43b7ca
Revert "miner/worker: broadcast block immediately once sealed ( #2576 )"
...
This reverts commit 6d5b4ad64d31907e0d3def45ac283b540cbe9ec9.
2024-07-22 18:23:10 +08:00
NathanBSC
222e10810e
core: cache block after wroten into db
2024-07-22 18:22:56 +08:00
Chris Li
a262acfb00
fix: remove delete and dangling side chains in prunefreezer ( #2582 )
2024-07-17 11:01:40 +08:00
Chris Li
87e622e51f
fix: the bug of blobsidecars and downloader with multi-database ( #2564 )
2024-07-16 22:37:03 +08:00
Chris Li
13d454796f
fix: pruneancient freeze from the previous position when the first time ( #2542 )
2024-07-16 22:36:18 +08:00
galaio
c6af48100d
freezer: Opt freezer env checking ( #2580 )
2024-07-16 21:44:39 +08:00
buddho
6d5b4ad64d
miner/worker: broadcast block immediately once sealed ( #2576 )
2024-07-16 21:24:37 +08:00
Nathan
c96fab04a3
core/vote: not vote if too late for next in turn validator ( #2568 )
2024-07-11 22:39:07 +08:00
buddho
27d86948fa
core: adapt highestVerifiedHeader to FastFinality ( #2574 )
2024-07-11 15:01:01 +08:00
will-2012
a00ffa762c
fix: fix statedb copy ( #2567 )
2024-07-10 15:39:20 +08:00
buddho
863fdea026
core: avoid to cache block before wroten into db ( #2566 )
2024-07-10 14:46:11 +08:00
Nathan
90e67970ae
core: clearup testflag for Cancun and Haber ( #2572 )
2024-07-09 14:30:19 +08:00
Chris Li
bc970e5893
fix: delete unexpected block ( #2562 )
2024-07-08 19:21:56 +08:00
wayen
a5810fefc9
fix: fix state inspect error after pruned state ( #2557 )
2024-07-04 22:24:22 +08:00
Roshan
f7de51f74e
upgrade: add HaberFix
hardfork ( #2535 )
2024-06-26 14:51:52 +08:00
Nathan
00f094c37e
core/forkchoice: improve stability when inturn block not generated ( #2451 )
2024-06-18 15:53:05 +08:00
Chris Li
7b08a70a23
perf: optimize chain commit performance for multi-database ( #2509 )
2024-06-18 15:20:23 +08:00
irrun
f467c6018b
feat: add mev helper params and func ( #2512 )
2024-06-13 11:13:39 +08:00
VM
9bb4fed1bf
fix: add an empty freeze db ( #2495 )
2024-06-04 15:47:16 +08:00
Nathan
8b9558bb4d
params/config: add Bohr hardfork ( #2497 )
2024-05-30 11:51:34 +08:00
Chris Li
63e7eac394
fix: keep 9W blocks in ancient db when prune block ( #2481 )
2024-05-29 15:11:52 +08:00
Chris Li
05543e558d
fix: fix inspect database error ( #2484 )
2024-05-27 15:10:59 +08:00
lx
d7b9866d3b
Merge pull request #2487 from bnb-chain/master
...
merge PRs from master to develop branch
2024-05-22 13:56:19 +08:00
Nathan
f190c49252
core/vm: add secp256r1 into PrecompiledContractsHaber ( #2483 )
2024-05-21 17:46:42 +08:00
Mars
08769ead2b
dev: ensure consistency in BPS bundle result ( #2479 )
...
* dev: ensure consistency in BPS bundle result
* fix: remove env operation once the sim is discarded & rename
2024-05-21 12:24:41 +08:00
Matus Kysel
4d0f1e7117
RIP-7212: Precompile for secp256r1 Curve Support ( #2400 )
2024-05-21 11:44:21 +08:00
galaio
6b8cbbe172
sync: fix some sync issues caused by prune-block. ( #2466 )
2024-05-16 12:07:13 +08:00
Nathan
0c0958ff87
eth/handler: check lists in body before broadcast blocks ( #2461 )
2024-05-15 14:54:25 +08:00
Nathan
0560685460
core: clearup feynman testflag and rialto code ( #2457 )
2024-05-14 16:37:17 +08:00
Martin HS
691d195526
core/rawdb: add sanity-limit to header accessor ( #29534 )
2024-05-11 10:24:39 +08:00
knowmost
0c101e618a
chore: fix some typos ( #2433 )
2024-05-09 16:05:46 +08:00
galaio
7bc5a3353d
txpool: limit max gas when mining is enabled; ( #2435 )
2024-05-09 15:54:31 +08:00
buddho
1d81f3316f
metrics: add blockInsertMgaspsGauge to trace mgasps ( #2396 )
2024-04-30 17:58:04 +08:00
galaio
31d92c50ad
chore: add metric & log for blobTx; ( #2428 )
2024-04-27 06:37:42 +08:00
Chris Li
d653cda82e
feat: adaptive for loading journal file or journal kv during loadJournal ( #2406 )
...
* core: check journalType before load journal
* fix: when delete trieJournal delete from kv & file
2024-04-19 16:23:28 +08:00
Chris Li
c0afdc9a98
core: separated databases for block data ( #2227 )
...
* core: use finalized block as the chain freeze indicator (#28683 )
* core/rawdb: use max(finality, head-90k) as chain freezing threshold
* core: impl multi database for block data
* core: fix db inspect total size bug
* core: add tips for user who use multi-database
* core: adapt some cmd for multi-database
* core: adapter blockBlobSidecars
* core: fix freezer readHeader bug
---------
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2024-04-18 15:12:05 +08:00
buddho
fb435eb5f1
fix: allow fast node to rewind after abnormal shutdown ( #2401 )
2024-04-18 13:45:02 +08:00
dylanhuang
11503edeb2
chore: render system bytecode by go:embed ( #2201 )
2024-04-15 11:23:23 +08:00