Commit Graph

176 Commits

Author SHA1 Message Date
Matthias Seitz
92361ad77f perf: let sync status mirror FCU (#4203) 2023-08-15 12:14:21 +00:00
Matthias Seitz
3c41e9ffc7 fix: return engine on fatal error (#4184) 2023-08-14 17:26:39 +00:00
Alexey Shekhirin
64188a3987 chore(engine): downgrade new payload buffering log to debug (#4068) 2023-08-04 15:40:37 +00:00
Alexey Shekhirin
b673b6c158 feat(engine): set eth_syncing = true if pruner is active (#4063) 2023-08-04 15:39:15 +00:00
Alexey Shekhirin
77b7d77819 fix(engine): poll prune first (#4048) 2023-08-03 16:00:56 +00:00
Alexey Shekhirin
f917d49fb4 fix(engine, pruner): prune poll logic, history indices (#4043) 2023-08-03 14:54:16 +00:00
Matthias Seitz
94dfeb3ade fix: validate headers in full block downloader (#4034) 2023-08-02 16:36:48 +00:00
Alexey Shekhirin
bddb60b3fc feat(engine): require VALID latest FCU status before pruning (#3954) 2023-08-02 15:08:38 +00:00
Alexey Shekhirin
9510a5ca7e feat(pruner): metrics (#4023) 2023-08-02 13:04:55 +00:00
Matthias Seitz
f98b1524bb feat: add fcu v3 skeleton (#3940) 2023-07-27 08:15:24 +00:00
Matthias Seitz
8cdb097829 chore: simplify workspace = true usage (#3930) 2023-07-26 15:21:09 +00:00
Chris Evanko
993b84408b feat: add canonicalization latency metric (#3865) 2023-07-24 21:42:59 +00:00
Dan Cline
609cab872e chore: improve TestConsensusEngineBuilder ergonomics (#3891) 2023-07-24 17:59:20 +00:00
Alexey Shekhirin
1ca7f3ae40 feat(pruner, storage): prune receipts & save checkpoints to database (#3733)
Co-authored-by: joshieDo <ranriver@protonmail.com>
2023-07-24 16:39:02 +00:00
Dan Cline
0ff75b5011 fix: do not perform future timestamp checks post-merge (#3884)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-07-24 16:28:42 +00:00
Dan Cline
4ed7abd1a1 fix: use empty pipeline and executor by default (#3845) 2023-07-19 14:44:35 +00:00
Dan Cline
314e561193 feat: add key gen util and simple fcu validation test with custom alloc (#3842) 2023-07-18 20:52:25 +00:00
Dan Cline
5ad9b32cbc feat: let consensus tests configure pipeline, executor, and client (#3839) 2023-07-18 18:16:17 +00:00
Dan Cline
e66464b14f chore: rename missing_parent to missing_ancestor (#3822)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-07-18 14:52:09 +00:00
Dan Cline
20a06e840a chore: add traces for _new_ invalid blocks (#3821)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-07-18 13:55:08 +00:00
Matthias Seitz
26b1ffa92a chore: make clippy happy (#3827) 2023-07-18 12:06:27 +00:00
Matthias Seitz
7edab97481 fix: poll logic when pipeline active (#3761) 2023-07-13 16:32:09 +00:00
Sabnock
637506f17f fix(consensus): call finalize_block when finalized block changes. (#3731) 2023-07-12 17:39:08 +00:00
Dan Cline
99240906a8 fix: perform forkchoice update consistency checks (#3730)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-07-12 14:12:33 +00:00
Dan Cline
6799fc3600 fix: use engine responses to progress autoseal mining task (#3727)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-07-12 14:03:40 +00:00
Alexey Shekhirin
dbafe23cce feat(bin, engine, prune): spawn pruning task from the engine (#3566) 2023-07-12 12:03:08 +00:00
Matthias Seitz
94ba83f635 docs: add a few more docs to ControlFlow (#3603) 2023-07-11 20:39:51 +00:00
int88
7fa032f9c9 test: fix engine hive of Invalid Transition Payload Sync (#3710) 2023-07-11 19:15:05 +00:00
Matthias Seitz
5609a39050 perf: only update finalized safe if changed (#3725) 2023-07-11 17:38:13 +00:00
Dan Cline
c8d0e7e9b3 feat: run pipeline if latest finalized is far from pipeline progress (#3662) 2023-07-10 11:23:24 +00:00
Chris Evanko
93865ef916 pop duplicates entries when returning downloaded blocks in engine (#3644)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-07-07 18:51:34 +00:00
Matthias Seitz
aef9480da0 chore: move BeaconConsensusEngineHandle to separate file (#3633) 2023-07-06 15:41:14 +00:00
Roman Krasiuk
c4f02425eb chore(engine): warn on inconsistent pipeline (#3623) 2023-07-06 12:21:25 +00:00
Dan Cline
596d32686c feat: download block ranges (#3416)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-07-06 11:33:14 +00:00
Matthias Seitz
4e2712bef2 refactor: extract exceeds pipeline threshold (#3605) 2023-07-05 16:34:56 +00:00
Matthias Seitz
a932e2f1fe perf: better engine downloads (#3584) 2023-07-05 10:58:36 +00:00
Matthias Seitz
1e3f0c0e86 refactor: extract on pipeline finished (#3590) 2023-07-05 09:50:51 +00:00
Matthias Seitz
e0d5735672 feat: add another distance check (#3501) 2023-07-02 13:55:27 +02:00
int88
5c7d5a3b3e feat: make chain canonical if new payload is the missing block for current sync target (#3459)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-06-30 12:01:30 +00:00
joshieDo
c3ea430e4a refactor: move mdbx::test-utils to reth_db::test-utils and add DatabaseEnvRO (#3466) 2023-06-29 23:52:26 +00:00
Matthias Seitz
02059387b0 chore: rename invalid header metrics scope (#3468) 2023-06-29 22:12:58 +00:00
Matthias Seitz
b7c977765c perf: check distance to downloaded block if finalized (#3451) 2023-06-29 04:23:15 +00:00
joshieDo
a53af3a0f2 refactor: move init_db to reth_db and add DatabaseEnv (#3450) 2023-06-28 21:03:00 +00:00
Matthias Seitz
0e6dd4c881 perf: update chain tracker first (#3431) 2023-06-27 22:19:04 +00:00
Matthias Seitz
d7bc30eb76 fix: add InsertBlockErrorKind::is_invalid_block block function (#3423) 2023-06-27 16:37:31 +00:00
joshieDo
085a703d7c refactor: add BlockWriter and BlockExecutionWriter (#3384) 2023-06-27 09:02:17 +00:00
Matthias Seitz
682dfc11a2 feat: track invalid headers hit counter (#3408) 2023-06-26 17:40:12 +00:00
Léo Vincent
0096739dbb doc: add reth logo to docs (#3317)
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
2023-06-26 15:41:11 +00:00
joshieDo
054f30f43c chore: rename Block*Provider for Block*Reader (#3385) 2023-06-26 14:13:45 +00:00
Matthias Seitz
add1abfeb2 perf: lower pipeline run threshold to 1 epoch (#3375) 2023-06-25 16:46:05 +00:00