Commit Graph

151 Commits

Author SHA1 Message Date
Thomas Coratger
9c57c4a454 clippy: add redundant_else clippy lint (#10525)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-08-26 09:40:10 +00:00
nk_ysg
c8a332fb85 feat: add metrics for dropped outgoing messages (#10225)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-08-09 13:00:42 +00:00
Emilia Hane
33f612a41a chore(net): Move reth_network::NetworkEvents into reth-network-api (#10062) 2024-08-05 20:27:59 +00:00
nk_ysg
b592607394 Move reth_eth_wire::ProtocolVersion and reth_eth_wire::Capabilities to reth-eth-wire-types (#10071)
Co-authored-by: Emilia Hane <emiliaha95@gmail.com>
2024-08-04 16:22:14 +00:00
Emilia Hane
b10517b3bf chore(net): extract NetworkHandle methods for launching node to traits (#9966) 2024-08-01 16:44:23 +00:00
Tuan Tran
e6f2dca445 chore(net): enable rust.unnameable-types = "warn" lint (#9505) 2024-07-16 17:40:10 +00:00
Delweng
52068ccee6 fix(rpc/admin): missing enode/enr in admin_peers endpoint (#9043)
Signed-off-by: jsvisa <delweng@gmail.com>
2024-07-01 17:26:22 +00:00
joshieDo
50ee497c75 feat: use new ChainHardforks type on ChainSpec (#9065) 2024-06-27 17:39:35 +00:00
Arsenii Kulikov
18eef6a991 refactor: extract configuration types to reth-network-types (#9136) 2024-06-27 09:33:13 +00:00
Federico Gimenez
a3a472a784 fix: do not drop sub protocol messages during EthStream Handshake (#9086) 2024-06-25 15:22:35 +00:00
Matthias Seitz
17c5121b50 chore(deps): replace fnv with fx (#9024) 2024-06-21 21:30:06 +00:00
joshieDo
2a5c93fab3 chore: use reth_chainspec where possible (#8891) 2024-06-17 16:09:09 +00:00
Matthias Seitz
be12177a2f chore: rm HasRemoteAddr trait (#8809) 2024-06-13 20:46:30 +00:00
Krishang
c7fd507681 feat: remove Bandwidthmeter type (#8698)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-06-09 13:40:25 +00:00
Matthias Seitz
2852893a7d chore: rename network-types to network-peers (#8699) 2024-06-09 13:13:46 +00:00
Thomas Coratger
2b4fa96065 add explicit_iter_loop clippy lint (#8570)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-06-03 18:14:50 +00:00
Thomas Coratger
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
Thomas Coratger
3d3f52b2a4 Add missing_const_for_fn clippy lint (#8498) 2024-05-30 09:50:03 +00:00
Thomas Coratger
19c529e8df add use_self clippy lint (#8325) 2024-05-29 13:14:14 +00:00
Matthias Seitz
de4e0ba041 chore: rm reth-interfaces from network (#8435) 2024-05-28 16:11:08 +00:00
Andrzej Sulkowski
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
Dan Cline
c13d7da68d chore: move pk2id and id2pk to primitives (#7382) 2024-03-29 21:43:52 +00:00
Alexey Shekhirin
0da7b7c314 chore: fix typos (#7264) 2024-03-21 12:10:09 +00:00
Matthias Seitz
1ad50d148a fix: enforce timeouts for pending sessions (#7219) 2024-03-19 15:05:50 +00:00
Matthias Seitz
a8c692c5b5 feat: add metrics for pending connections (#7225) 2024-03-19 14:45:22 +00:00
Matthias Seitz
804c54a3e7 feat: autoscale session event capacity (#7149) 2024-03-18 22:07:18 +00:00
Abner Zheng
9312424db0 Always accept incoming connections from trusted peers (#7140) 2024-03-15 11:16:17 +00:00
DaniPopes
3c028e5ef4 chore: fix typos (#7049) 2024-03-08 14:23:37 +00:00
DaniPopes
94cb6a8bcd chore: use Display instead of Debug for most errors (#6777) 2024-02-24 12:13:41 +00:00
Matthias Seitz
da3f469758 chore: rm duplicated remove_pending_session call (#6773) 2024-02-24 11:47:01 +00:00
DaniPopes
6890e02310 fmt: format tracing macro calls (#6776) 2024-02-24 10:58:01 +00:00
Dan Cline
79452eadaf chore: make clippy happy (#6666) 2024-02-19 06:31:47 +00:00
Emilia Hane
c0f3d38ad9 Speed up request buffered hashes (#6318)
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
Co-authored-by: back <104515688+justcode740@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-02-13 18:57:43 +00:00
Emilia Hane
8349cb3205 optimise TransactionFetcher (#6012)
Co-authored-by: zerosnacks <95942363+zerosnacks@users.noreply.github.com>
2024-01-18 23:37:14 +00:00
Darex
a3e56eaffa Cap max graceful disconnects (#6117)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-01-18 18:20:48 +00:00
Luca Provini
a075c31542 feat: test tracer (#6025)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-01-13 12:38:08 +00:00
DaniPopes
b1b059fe9b chore: clean up lints (#5881) 2023-12-28 16:23:50 +00:00
DaniPopes
e341f47a16 fmt: add a space between inner doc-comments and following items (#5880) 2023-12-28 15:52:20 +00:00
Matthias Seitz
a8e2518aa0 feat: add SecretKey to networkconfig (#5761) 2023-12-14 17:25:05 +00:00
Matthias Seitz
5062b7ea86 feat: integrate multiplexing (#5559) 2023-12-12 16:34:31 +00:00
Emilia Hane
cd4d6c52b0 Cap mux simple (#5577)
Signed-off-by: Emilia Hane <elsaemiliaevahane@gmail.com>
2023-12-08 08:21:01 +00:00
Arindam Singh
2144b97df0 reth-ethereum-forks crate (#5621)
Co-authored-by: root <root@Arindam>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-12-01 12:07:32 +00:00
Matthias Seitz
5e2affb15a feat: add configure network function to cli ext (#5536) 2023-11-22 19:58:02 +00:00
Matthias Seitz
820f67e741 feat: support additional protocols abstraction (#5360) 2023-11-10 18:41:06 +00:00
Matthias Seitz
2488aa079e feat: support hello message with protocols (#5371) 2023-11-09 20:21:19 +00:00
Matthias Seitz
011494dff4 feat: support multiple shared caps (#5363)
Co-authored-by: Emilia Hane <emiliaha95@gmail.com>
2023-11-08 20:33:18 +00:00
Matthias Seitz
0e2346597b feat: add for peers functions (#5351) 2023-11-08 14:46:07 +00:00
Matthias Seitz
5daaa7fe27 feat: add established timestamp to peerinfo (#5350) 2023-11-08 03:12:04 +00:00
DaniPopes
f8ceda9ea8 chore: reduce size of common types (#5304) 2023-11-06 12:45:20 +00:00
Alexey Shekhirin
9ca44efe9f feat(bin): separate journald and file log filters, log debug to file by default (#5197) 2023-10-31 11:08:15 +00:00