Commit Graph

45 Commits

Author SHA1 Message Date
ddc82e2645 test(static-file): add unit tests for HighestStaticFiles implementation (#11912) 2024-10-21 06:31:29 +00:00
e2ecb6224d chore: remove unused deps (#11898) 2024-10-19 16:54:07 +00:00
1b97b1d942 fix(staged-sync): prevent StaticFileProducer from running with an unwinded target on legacy engine (#11717) 2024-10-17 03:00:25 +00:00
4070498a1d fix(storage): only delete static file if last_block is on a previous static file (#11029)
Co-authored-by: Alexgao001 <alex.g@nodereal.io>
2024-09-25 16:38:29 +00:00
fb0555ae7d Refactor Block (#10913)
Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com>
2024-09-24 10:14:08 +00:00
69c8ddb330 feat: add blocks_per_file field to StaticFileProvider (#11043) 2024-09-19 17:36:23 +00:00
0fa8e83e16 refactor: make reth-prune independent of concrete DatabaseProvider (#10921) 2024-09-16 11:46:53 +00:00
d11bbe686b refactor: reduce ProviderFactory usage (#10798) 2024-09-11 09:36:34 +02:00
5ecc9d2348 feat: integrate NodeTypesWithDB (#10698)
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
2024-09-05 15:17:28 +00:00
2c28438505 chore: remove PerfectHasingFunction Filters (#10627)
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
2024-09-04 14:46:46 +00:00
7ea748e2d3 refactor(provider): random_block and random_block_range functions (#10563) 2024-08-27 14:19:43 +00:00
f6f16fcd9c clippy: add needless_for_each clippy lint (#10555)
Co-authored-by: Oliver <onbjerg@users.noreply.github.com>
2024-08-27 10:31:44 +00:00
24495cdc5d Add tests for withdrawals provider (#10428) 2024-08-22 20:58:25 +00:00
3da119b1ac test(provider): RequestsProvider of BlockchainProvider2 (#10356) 2024-08-21 20:58:49 +00:00
41d5c07b7d chore: remove segment argument from increment_block (#9977) 2024-08-01 10:50:49 +00:00
8c690eef95 chore: remove ownership requirement for static file methods (#9709) 2024-07-22 19:07:50 +00:00
9d4722eb65 chore: remove unused static-file code (#9178) 2024-07-01 15:24:51 +00:00
8775a93d33 feat(cli): reth prune (#9055) 2024-06-26 14:54:06 +00:00
3db1069554 chore: remove reth-primitives dependency from reth-static-file (#8903) 2024-06-17 18:18:26 +00:00
e5111f0339 feat: add append_receipts function (#8718)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2024-06-13 14:08:57 +00:00
ade059235b chore: move primitives/prune to reth-prune-types (#8676) 2024-06-07 15:24:39 +00:00
4fc289b9d0 chore: move static file crates in static file folder (#8671) 2024-06-07 13:07:51 +00:00
51a28f22da chore: split db abstraction into new crate (#8594) 2024-06-04 21:45:57 +00:00
6dd8400f12 chore: remove StaticFileProvider field from StaticFileProducer (#8583) 2024-06-04 12:29:26 +00:00
7c17c6e469 add doc_markdown clippy lint (#8552)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-06-03 13:21:45 +00:00
3d3f52b2a4 Add missing_const_for_fn clippy lint (#8498) 2024-05-30 09:50:03 +00:00
e21a2578d5 chore(deps): remove useless deps (#8453) 2024-05-29 09:34:52 +00:00
1f2b68b8ea chore: rm reth-interfaces from static file (#8441) 2024-05-28 17:56:03 +00:00
f6e1c7f76e chore: remove reth-interfaces from static file (#8428) 2024-05-28 13:43:37 +00:00
d0386b8166 feat: use broadcast channel for event listeners (#8193)
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
2024-05-22 17:36:51 +00:00
a2623e8364 fix: ensures that pruning data from static files only happens on calling commit() (#8101) 2024-05-07 15:46:11 +00:00
b3d7b7d501 feat: StaticFileProviderFactory (#7983) 2024-04-30 10:30:04 +00:00
d281699c2a chore: rm clap as dep of reth-static-file (#7980) 2024-04-30 08:55:50 +00:00
7a593882e1 chore(github): use codespell to inspect and correct spelling issues (#7775)
Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-04-23 21:32:59 +00:00
b653b3de15 fix(static-file): run producer only if passed non-empty targets (#7424) 2024-04-02 16:59:38 +00:00
709d8a16d3 Enable clippy's useless_let_if_seq linter (#7220)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2024-03-19 16:33:22 +00:00
d91274eaa2 Enable clippy's redundant_clone linter (#7202)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-19 01:35:04 +00:00
3b4726a714 fix: use tempdir when testing static files (#6962) 2024-03-16 12:57:18 +00:00
52d49832d9 fix(static-file): pass producer as Arc<Mutex<_>> to ensure only one is active (#7143)
Co-authored-by: joshieDo <ranriver@protonmail.com>
2024-03-15 13:26:15 +00:00
3d86c4ac59 chore: add safety check on StaticFileProviderRW::increment_block (#7137)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2024-03-14 21:55:57 +00:00
024bb264b7 rm nippyjar from reth-interfaces (#7081) 2024-03-12 08:29:59 +00:00
914b1657d9 docs: update static file documentation (#6878) 2024-03-06 18:24:02 +00:00
5e2cac442f 0x/rm unused dep (#6899)
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
2024-03-01 11:34:31 +00:00
9468527aad chore: remove unused dependencies to speed up building time (#6882)
Signed-off-by: jsvisa <delweng@gmail.com>
2024-02-29 15:10:20 +00:00
6b5b6f7a40 Breaking changes (#5191)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
Co-authored-by: joshieDo <ranriver@protonmail.com>
Co-authored-by: joshieDo <93316087+joshieDo@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
Co-authored-by: Thomas Coratger <thomas.coratger@gmail.com>
2024-02-29 12:37:28 +00:00