Commit Graph

21 Commits

Author SHA1 Message Date
2e4376f359 add format checker to .toml (#13968)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2025-01-28 12:20:58 +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
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
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
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
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
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
2852893a7d chore: rename network-types to network-peers (#8699) 2024-06-09 13:13:46 +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
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