Commit Graph

14 Commits

Author SHA1 Message Date
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