Commit Graph

70 Commits

Author SHA1 Message Date
8d35f26db9 chore: enable rand in test utils (#14234) 2025-02-05 13:01:39 +01:00
2e4376f359 add format checker to .toml (#13968)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2025-01-28 12:20:58 +00:00
f64dd8a977 chore: remove some unnecessary direct imports (#13934) 2025-01-22 22:08:48 +01:00
22a5c10a07 chore: retry empty responses (#13923) 2025-01-22 18:29:22 +00:00
83b2fb9b41 feat: add SealedBlock in reth-primitives-traits (#13735) 2025-01-15 01:12:43 +00:00
5a23708eb0 chore: make clippy happy (#13772) 2025-01-11 11:15:06 +00:00
f2521b54de chore: misc SealedBlock prep (#13736) 2025-01-08 16:07:52 +01:00
35392bd8e9 chore: make SealedBlock.header field private (#13646)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2025-01-07 19:44:39 +00:00
f7f2012156 refactor: Consensus trait error type (#13655) 2025-01-07 16:11:42 +00:00
86399e2aea feat: remove PartialEq+Eq from ProviderError and all others affected (#13592)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2025-01-04 10:27:35 +00:00
9923e5ac5b chore: rm some direct header access (#13633) 2025-01-03 16:40:00 +00:00
dbd4f0c4fe chore: make block field private (#13628) 2025-01-03 15:10:32 +00:00
37f3933db2 feat: add NetworkPrimitives to NetworkBuilder (#13169)
Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com>
2024-12-10 20:56:32 +00:00
15470b4350 feat: make bodies downloader generic over header (#13259) 2024-12-10 09:29:51 +00:00
552c6237a8 feat: make BlockResponse generic over header (#13195) 2024-12-06 21:35:51 +00:00
65193bdaf3 feat: add std feature to network-peers (#13078) 2024-12-02 20:56:21 +00:00
aacf5d13d2 chore: disable more default features (#13065) 2024-12-02 18:03:33 +01:00
ae3b3ddf42 chore: use alloy's blockwithparent (#13052) 2024-12-02 10:09:24 +00:00
868f3acdbc feat: integrate HeaderValidator + make FileClient generic over block (#12681) 2024-11-20 11:07:24 +00:00
e924bdab37 Header validator (#12648)
Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com>
2024-11-19 10:42:40 +00:00
dda1906588 rm more generics when useless (#12595) 2024-11-16 16:06:57 +00:00
93ec6d48fe net: use BlockWithParent in SyncTarget::Gap (#12514) 2024-11-15 08:43:21 +00:00
ff6b78a362 feat: move body writing to BlockWriter trait (#12538) 2024-11-14 13:50:32 +00:00
7a1698c504 chore(utils): Util function for headers request (#12501) 2024-11-13 17:07:59 +00:00
001f3899fd primitives: rm alloy Header reexport (#12515) 2024-11-13 16:41:25 +00:00
9313737dbb primitives: use SealedHeader::seal (#12507) 2024-11-13 13:41:56 +01:00
2f794b6b99 chore: rm unhinged attributes ordering (#12498) 2024-11-13 03:06:13 +01:00
aece53ae88 feat: make downloaders and clients generic over block parts (#12469)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-11-12 15:13:21 +00:00
eccff7d24b chore(reth_primitives): Use trait for size methods in primitive types (#12201)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-11-11 16:54:00 +00:00
24b3e63ab3 feat: make Consensus trait generic over block parts (#12451) 2024-11-11 16:35:01 +00:00
cf4a4454ec fix: feature propagation (#11888)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Oliver <onbjerg@users.noreply.github.com>
2024-10-19 20:36:11 +00:00
3bd695ee63 feat: update el requests for devnet 4 (#11865)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-10-19 12:48:35 +00:00
f684dd4c4c chore(clippy): enable if_then_some_else_none lint (#11679)
Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-10-14 15:45:26 +00:00
250785f833 chore: preempt single block downloading (#11647) 2024-10-10 19:15:06 +02:00
e21d75f9aa primitives: rm more alloy_primitives reexports (#11325) 2024-09-30 01:06:47 +00:00
6a7d8938c7 chore: update revm and alloy primitives (#11235)
Co-authored-by: Arsenii Kulikov <klkvrr@gmail.com>
2024-09-26 14:33:29 +00:00
ed1de8996d primitives: use alloy Header struct (#10691) 2024-09-23 12:53:43 +00:00
08bdec9efa net: replace reth-primitive imports with alloy-eips (#11027)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-09-20 06:23:38 +00:00
ae9b13f4a1 net: replace reth-primitive imports (#11023) 2024-09-19 08:29:01 +00:00
1d0b18cd1a error: use derive-more Error for deriving error (#10841) 2024-09-17 10:01:29 +00:00
69e5a8587b clippy: add manual_is_variant_and clippy lint (#10556) 2024-08-27 10:04:19 +00:00
709e7b73ce clippy: add if_not_else clippy lint (#10524)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-08-26 10:58:06 +00:00
85c1c07629 fix: FetchFullBlockRangeFuture doesn't return on bad header (#10449) 2024-08-22 16:01:31 +00:00
c0902c8b47 deps: bump derive_more to 1.0 (#10403) 2024-08-20 20:16:12 +00:00
170a396903 chore: invert p2p and network types dep (#10390) 2024-08-20 07:47:33 +00:00
3d5c4b7e39 fix(network, p2p): Wasm compilation (#10278) 2024-08-12 22:46:54 +00:00
52ae25a7c7 chore(reth-consensus): no_std support (#9663)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2024-08-12 21:56:01 +00:00
9c80cc4a57 chore(reth-network-p2p): Replace HeadersClient + BodiesClient with BlockClient (#10058)
Co-authored-by: Skanda Bhat <bhat.skanda.m@gmail.com>
2024-08-04 16:20:53 +00:00
f3e79df300 chore(net): move reth_network::BlockDownloaderProvider to reth-network-api (#10003) 2024-08-03 13:42:44 +00:00
b10517b3bf chore(net): extract NetworkHandle methods for launching node to traits (#9966) 2024-08-01 16:44:23 +00:00