Commit Graph

342 Commits

Author SHA1 Message Date
4e2712bef2 refactor: extract exceeds pipeline threshold (#3605) 2023-07-05 16:34:56 +00:00
a932e2f1fe perf: better engine downloads (#3584) 2023-07-05 10:58:36 +00:00
1e3f0c0e86 refactor: extract on pipeline finished (#3590) 2023-07-05 09:50:51 +00:00
e0d5735672 feat: add another distance check (#3501) 2023-07-02 13:55:27 +02:00
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
c3ea430e4a refactor: move mdbx::test-utils to reth_db::test-utils and add DatabaseEnvRO (#3466) 2023-06-29 23:52:26 +00:00
02059387b0 chore: rename invalid header metrics scope (#3468) 2023-06-29 22:12:58 +00:00
b7c977765c perf: check distance to downloaded block if finalized (#3451) 2023-06-29 04:23:15 +00:00
a53af3a0f2 refactor: move init_db to reth_db and add DatabaseEnv (#3450) 2023-06-28 21:03:00 +00:00
0e6dd4c881 perf: update chain tracker first (#3431) 2023-06-27 22:19:04 +00:00
d7bc30eb76 fix: add InsertBlockErrorKind::is_invalid_block block function (#3423) 2023-06-27 16:37:31 +00:00
085a703d7c refactor: add BlockWriter and BlockExecutionWriter (#3384) 2023-06-27 09:02:17 +00:00
682dfc11a2 feat: track invalid headers hit counter (#3408) 2023-06-26 17:40:12 +00:00
0096739dbb doc: add reth logo to docs (#3317)
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
2023-06-26 15:41:11 +00:00
054f30f43c chore: rename Block*Provider for Block*Reader (#3385) 2023-06-26 14:13:45 +00:00
add1abfeb2 perf: lower pipeline run threshold to 1 epoch (#3375) 2023-06-25 16:46:05 +00:00
63fbc48c60 chore: Error -> Failed for failed make_canonical call (#3376) 2023-06-25 16:45:58 +00:00
b0f57bf97b feat: add invalid headers metrics (#3314)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-06-22 13:36:43 +00:00
d7dd474a18 chore: improve invalid block warnings (#3312) 2023-06-22 01:52:00 +00:00
48bdb63a95 chore: convert debug into warn (#3311) 2023-06-22 01:33:20 +00:00
dc74fad816 test: add support for seeded rng (#3270) 2023-06-21 21:35:28 +00:00
8fd3cd2d81 feat(stages): replace progress by block_number in PipelineProgress (#3256) 2023-06-21 15:11:55 +00:00
00e6adfa57 perf: handle sync and engine messages in same loop (#3276) 2023-06-21 12:50:17 +00:00
4dd9c9b25a chore: make clippy happy (#3291) 2023-06-21 02:07:14 +00:00
8dfdf658a1 chore: decrease pipeline threshold to 64 (#3249)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-06-19 22:35:10 +00:00
255780d381 feat: run pipeline only if missing range is large (#3059) 2023-06-19 18:21:38 +00:00
7ab8a7f3ec chore: use workspace version (#3240) 2023-06-19 17:29:15 +00:00
c46c11b3d7 fix: don't send engine events for dupe payloads (#3231) 2023-06-19 13:25:21 +00:00
017c9cea9c chore: move stage methods to StageCheckpointProvider and add StageCheckpointWriter (#3195)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-06-17 11:06:25 +00:00
5375a2dd6a feat(consensus): adding warn! for insertion in invalid_headers (#3194) 2023-06-15 21:06:07 +00:00
691d0f91a1 fix: poll sync controller once if pipeline sync is pending (#3179) 2023-06-15 18:51:24 +00:00
0d691fee16 fix: mark state as synced when transition to live sync (#3187) 2023-06-15 17:53:22 +00:00
2588d9282f feat: try to canonicalize safe and finalized (#2971) 2023-06-15 17:53:04 +00:00
5bb090cd9f refactor: trigger pipeline with finalized hash (#3142)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
2023-06-15 11:53:11 +00:00
209d2445b0 chore: rename ShareableDatabase to ProviderFactory (#3121) 2023-06-14 06:49:32 +00:00
724f480bbb Revert "refactor(stages): input target reached & output done checks" (#3136) 2023-06-13 23:49:11 -07:00
ea2fcee995 chore: use workspace dependencies (#3132) 2023-06-13 22:46:26 +00:00
6752d624a1 refactor(stages): input target reached & output done checks (#3119) 2023-06-13 12:02:48 +00:00
f55d88b8c4 refactor: remove Transaction and add DatabaseProvider to stages (#3034)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-06-12 22:37:58 +00:00
7ec4b0a5cf Revert "refactor(stages): input target reached & output done checks" (#3114) 2023-06-12 10:19:46 -07:00
9a8c680e0f refactor(stages): input target reached & output done checks (#3106) 2023-06-12 16:12:19 +00:00
83a032dada chore(engine): run pipeline on start if any of the stages is lagging behind (#3089) 2023-06-12 14:18:40 +00:00
ab6fff92af feat(bin): log forkchoice status on FCU (#3067) 2023-06-08 18:17:11 +00:00
c0fb169da4 fix: unwind on execution and senders errors (#2938)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-06-06 13:17:12 -07:00
e1392a67d0 feat: add metrics for active block downloads (#3027) 2023-06-06 16:45:57 +00:00
171166e84a chore: add msrv to manifests, add and use workspace.package (#3006) 2023-06-06 03:45:44 +00:00
9614b4667c fix: mark downloaded block as invalid if insertion fails (#3003) 2023-06-06 00:13:54 +00:00
df90caeb34 fix: ignore forkchoice updates to old head (#2952)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-06-05 15:24:29 -07:00
d2c68edf23 feat: rework logs (#2988) 2023-06-05 17:43:14 +00:00
e1148c81a7 chore(consensus): emit warnings if no CL found (#2961)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-06-05 16:48:40 +00:00