Commit Graph

41 Commits

Author SHA1 Message Date
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
e95ec4cbd5 chore(net): Remove dependency reth-network-p2p -> reth-network-types (#9984) 2024-08-01 13:10:10 +00:00
78703b5729 Move reputation types from reth-network-api to reth-network-types (#9914)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-07-31 20:08:38 +00:00
2adf2d3364 chore: remove unused private stream type (#9357) 2024-07-07 11:07:52 +02:00
0ce192921f move header.rs to eth-wire-types (#9345) 2024-07-06 10:29:02 +00:00
fc770423b3 fix(ci): add missing const fn (#8822) 2024-06-14 10:07:39 +00:00
2852893a7d chore: rename network-types to network-peers (#8699) 2024-06-09 13:13:46 +00:00
b686872716 add explicit_into_iter_loop clippy lint (#8569) 2024-06-03 17:44:44 +00:00
e02b935e94 add match_same_arms clippy lint (#8549) 2024-06-03 17:42:25 +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
19c529e8df add use_self clippy lint (#8325) 2024-05-29 13:14:14 +00:00
e21a2578d5 chore(deps): remove useless deps (#8453) 2024-05-29 09:34:52 +00:00
329634256a chore: move generators module (#8429) 2024-05-28 18:04:46 +02:00
b4a1b733c9 feat: implement EIP-7685 (#8424)
Co-authored-by: Oliver Nordbjerg <onbjerg@users.noreply.github.com>
Co-authored-by: Dan Cline <6798349+Rjected@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-05-28 14:06:28 +00:00
4ee75d57ad chore: move sync to p2p crate (#8389) 2024-05-24 12:14:23 +00:00
df7c9ee310 chore: extract p2p types from interfaces (#8382) 2024-05-24 08:34:09 +00:00
705e6f79dc feat(p2p): remove p2p crate (#397) 2022-12-13 08:28:38 +01:00
4d718bbf33 s/foundry-rs/paradigmxyz 2022-12-07 00:00:45 -08:00
230e9ef179 feat(p2p): add anchor file for discovery state (#11)
* feat(p2p): add anchor file for discovery state

* move rustdoc and improve error messages

Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>

* add temp file tests and log drop error

 * fix error due to lack of read option
 * fix empty and nonexistent file error

* remove redundant new

* replace println with tracing

* show underlying error in custom error message

* chore: cargo fmt

* change AsRef<Path> to &Path

* remove ineffective dedups

* chore: cargo fmt

* switch out Vec<Enr<K>> for HashSet<Enr<K>>

* cargo fmt

* use tempdir instead of of std::env::temp_dir

* refactor anchor to contain &Path instead of File

 * change new_from_file to explicitly include logic for opening existing
   files, rather than calling out to from_toml
 * remove from_toml because new_from_file handles existing files
   properly with only a path. It is not possible to obtain a Path from a
   File anyways, its only purpose was to accept a File type

* use PathBuf instead of Path

Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
2022-10-10 13:02:54 -04:00
6ff7cf5a74 feat: add p2p crate (#4)
* feat: add p2p crate

* move p2p to net subfolder

* add lib.rs and Cargo.toml to net

* remove net crate, use explicit names in workspace
2022-09-30 09:27:52 -07:00