Commit Graph

35 Commits

Author SHA1 Message Date
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
a4933e72a3 chore: remove peer types dep (#8368) 2024-05-23 14:02:28 +00:00
cc4a418ddf refactor: extract peer types to net/types (#7912)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-04-27 04:18:59 +00:00
a31202670b chore: apply some style suggestions (#7307) 2024-03-24 22:52:33 +00:00
3861bc05fa Enable clippy's derive_partial_eq_without_eq linter (#7203)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-18 22:33:53 +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
79452eadaf chore: make clippy happy (#6666) 2024-02-19 06:31:47 +00:00
8cfa5efe62 small refactoring (#6531) 2024-02-10 21:21:40 +00:00
9aa44093cf lints: move top-level lints to [workspace.lints] manifest table (#5935) 2024-01-04 13:38:02 +00:00
e341f47a16 fmt: add a space between inner doc-comments and following items (#5880) 2023-12-28 15:52:20 +00:00
e897764ad4 chore(meta): manifest maintenance (#5353) 2023-11-08 19:53:50 +00:00
b85aa94033 docs: paradigmxzy -> paradigmxyz (#4837) 2023-09-28 14:27:30 +00:00
8f9d2908ca chore: add and fix more lints, improve docs (#4765) 2023-09-25 15:46:46 +00:00
a76da98316 feat: support admin_peers (#4435) 2023-08-31 20:36:50 +00:00
72236490ce fix: restrict max active queries (#4178) 2023-08-14 09:45:28 +00:00
8cdb097829 chore: simplify workspace = true usage (#3930) 2023-07-26 15:21:09 +00:00
0096739dbb doc: add reth logo to docs (#3317)
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
2023-06-26 15:41:11 +00:00
7ab8a7f3ec chore: use workspace version (#3240) 2023-06-19 17:29:15 +00:00
ea2fcee995 chore: use workspace dependencies (#3132) 2023-06-13 22:46:26 +00:00
171166e84a chore: add msrv to manifests, add and use workspace.package (#3006) 2023-06-06 03:45:44 +00:00
305e992eed docs: rm global ip docs (#1555) 2023-02-25 10:22:31 +01:00
1b52fe90c8 feat: do not ban non-global IPs (#1549) 2023-02-24 18:21:02 -05:00
dba6b24bde chore: clippy fixes and make benches compile again (#1449) 2023-02-18 13:44:06 +01:00
be70f810e9 test: Modify can_serde_config_test (#1048)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
Co-authored-by: xqft <estefano.bargas@fing.edu.uy>
2023-01-30 19:48:17 -08:00
87306f2892 ci: ensure docs build (#1073)
Co-authored-by: xqft <estefano.bargas@fing.edu.uy>
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-01-27 18:49:22 +01:00
5d45325e43 feat(net): Metered senders (#726)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
2023-01-17 17:41:05 -08:00
9c10234cda feat: add rate limit implementation (#813)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
2023-01-11 14:30:28 +01:00
2b5ee2b18d chore(primitives): use reth::Bytes and implements arbitrary (#776)
* clippy

* add arbitrary to reth Bytes

* clean

* add missing dependency
2023-01-09 12:09:18 +01:00
d98f9fe507 move HasRemoteAddr trait to reth-net-common (#775) 2023-01-09 10:43:46 +02:00
31cb66902e fix: Fix typos (#773) 2023-01-09 01:43:51 +01:00
2da828478c feat(net): Bandwidth monitoring (#707)
* WIP for draft PR

* added basic test

* using BandwidthMeterInner type & added TcpStream test

* formatted

* formatted w/ +nightly

* using  &  for  and

* formatted

* added default impl for BandwidthMeter

* using _bandwidth_meter bc unused

* removed redundant clone

* addressed nits, renamed file

* addressed nits, renamed file
2023-01-06 21:43:13 +01:00
5affa67805 refactor(net): unify closed incoming session handling (#600) 2022-12-24 12:38:21 +01:00
c1f124d3e3 feat(net): temporarily ban bad peers (#492)
* feat(net): temporarily ban bad peers

* use half duration interval

* Update crates/net/network/src/peers/manager.rs

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

* fix bad test

Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
2022-12-16 18:22:25 +01:00
43f6bb9127 feat(net): integrate discovery banlist (#442)
* feat(net): integrate discovery banlist

* fix typos
2022-12-14 19:47:11 +02:00