Commit Graph

354 Commits

Author SHA1 Message Date
joshieDo
2e1ef4dfa5 feat(prune): don't prune changesets if taking an incremental hashing/trie route (#4025)
eth tests unrelated, new blob txs
2023-08-02 19:06:17 +02:00
Alexey Shekhirin
88f83fca39 feat(pruner): account history (#4000) 2023-08-02 14:12:53 +00:00
joshieDo
72e6a1ec9f chore(stages): remove unnecessary prune configuration from history index stages (#4018) 2023-08-01 12:17:51 +00:00
Alexey Shekhirin
4688fd2ae0 feat(pruner): transaction senders (#3912) 2023-08-01 11:30:02 +00:00
joshieDo
134fe81efb feat(pruning): prune ChangeSets & History during pipeline (#3728) 2023-07-31 14:36:03 +00:00
joshieDo
0b913e2265 fix(pipeline): clear MerkleStage checkpoints on invalid root (#3973)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
2023-07-31 13:31:43 +00:00
int88
adce7eae0e test: cover index storage history stage with stage_test_suite_ext tests (#3898) 2023-07-26 17:48:06 +00:00
Alexey Shekhirin
74bbe5afa8 fix(stages): transaction lookup stage checkpoint calculation (#3909) 2023-07-26 16:44:46 +00:00
Alexey Shekhirin
736de2028c feat(pruner): transaction lookup (#3892) 2023-07-25 17:41:23 +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
int88
88376e3bd1 test: cover index account history stage with stage_test_suite_ext tests (#3383) 2023-07-24 15:48:26 +00:00
Alexey Shekhirin
90b6d006d1 fix(stages): update entities metrics on SyncHeight event (#3796) 2023-07-15 23:59:03 +03:00
rakita
d001313f99 bug(stages): TxLookup/Sender stages fix range if there is no tx (#3479) 2023-07-15 22:36:27 +03:00
Matthias Seitz
94ba83f635 docs: add a few more docs to ControlFlow (#3603) 2023-07-11 20:39:51 +00:00
joshieDo
65c7c1c4f9 chore: use transaction_by_id_no_hash to avoid hash computation (#3718) 2023-07-11 15:49:33 +00:00
joshieDo
65b07b981e feat(pruning): prune Receipts during pipeline (#3585) 2023-07-11 10:51:34 +00:00
ChosunOne
4b261cef45 style: replace next_sync_target Receiver loop with call to wait_for (#3618) 2023-07-10 16:15:40 +00:00
Alexey Shekhirin
15b21a031a feat(stages): trace log for metric event receive (#3670) 2023-07-09 17:16:55 +00:00
Alexey Shekhirin
f3c7a8253c refactor(stages): use MetricsListener for Execution stage gas metric (#3511) 2023-07-06 11:36:09 +00:00
pistomat
764e58d65d fix: create a test db with path (#3482) 2023-07-03 12:21:36 +00:00
Roman Krasiuk
f2f3425f1c chore: fix clippy (#3540) 2023-07-03 14:26:17 +03:00
Alexey Shekhirin
951fd0ae0c feat(stages, tree): update sync metrics from blockchain tree (#3507)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-07-02 13:21:06 +00:00
Alexey Shekhirin
83b14cb611 feat(bin, stages): metrics listener (#3483) 2023-06-30 14:27:01 +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
f49feff5a7 chore: phase out some ethers usage (#3467) 2023-06-29 15:28:28 +00:00
Alexey Shekhirin
d3465e2e32 feat(stages, storage): pruning configuration (#3341)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-06-29 15:04:43 +00:00
joshieDo
a53af3a0f2 refactor: move init_db to reth_db and add DatabaseEnv (#3450) 2023-06-28 21:03:00 +00:00
joshieDo
e10ab387a1 refactor: Stage execute and unwind take an immutable provider reference instead (#3390) 2023-06-27 13:35:00 +00:00
joshieDo
085a703d7c refactor: add BlockWriter and BlockExecutionWriter (#3384) 2023-06-27 09:02:17 +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
joshieDo
3e07a5d508 chore: move AccountWriter methods to HashingWriter and HistoryWriter (#3332)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-06-23 10:55:07 +00:00
Roman Krasiuk
d7467e86b4 fix(sync): merkle current block logs (#3326) 2023-06-22 18:15:11 +00:00
joshieDo
68b93a88de refactor: adds StorageReader / HashingWriter / HistoryWriter (#3285) 2023-06-22 14:08:27 +00:00
Bjerg
dc74fad816 test: add support for seeded rng (#3270) 2023-06-21 21:35:28 +00:00
Bjerg
77167134d0 docs: document crate features (#3269) 2023-06-21 19:35:38 +00:00
Thomas Coratger
8fd3cd2d81 feat(stages): replace progress by block_number in PipelineProgress (#3256) 2023-06-21 15:11:55 +00:00
Dan Cline
4dd9c9b25a chore: make clippy happy (#3291) 2023-06-21 02:07:14 +00:00
joshieDo
96abde0965 chore: AccountProvider -> AccountReader & AccountWriter (#3228) 2023-06-19 11:46:47 +00:00
Alexey Shekhirin
f44010b888 feat(config): missing stage configs (#3215) 2023-06-19 08:51:12 +00:00
joshieDo
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
Bjerg
e252cd6a2f fix: dynamic batch size for tx lookup stage (#3134) 2023-06-17 01:05:09 +00:00
joshieDo
0d9e1f4997 chore: replaces tx.get::<Table> with provider methods (#3189) 2023-06-17 00:58:16 +00:00
Roman Krasiuk
b90d0b4106 chore(provider): remove transition terminology (#3198) 2023-06-16 11:20:37 +00:00
joshieDo
ab2a38a549 chore: replace ExecutionStage::read_block_with_senders with BlockProvider::block_with_senders (#3168) 2023-06-15 18:46:50 +00:00
Alexey Shekhirin
32e642d6b0 fix(stages): disable index history stages checkpoints (#3178) 2023-06-15 17:06:45 +00:00
Roman Krasiuk
01b0143ecb chore(sync): remove progress terminology from test macros (#3177) 2023-06-15 13:47:19 +00:00
Bjerg
ff36f78c2b feat: stage eta (#3135) 2023-06-15 11:58:35 +00:00
Matthias Seitz
518784205f refactor: convert closure into function (#3144) 2023-06-14 18:09:27 +00:00
Matthias Seitz
3bba41a209 fix: chunk size edge case (#3143) 2023-06-14 16:00:15 +00:00