Commit Graph

985 Commits

Author SHA1 Message Date
jn
ea5535cc28 fix: DisconnectReason::decode should return error on zero length list (#7284) 2024-03-21 19:52:59 +00:00
Alexey Shekhirin
0da7b7c314 chore: fix typos (#7264) 2024-03-21 12:10:09 +00:00
Matthias Seitz
28b983403e chore: move op types; less op cfgs (#7255) 2024-03-20 18:17:23 +00:00
Matthias Seitz
1c6ea1e30a feat: support any node format in admin API (#7247) 2024-03-20 17:37:06 +00:00
Thomas Coratger
0a803c49a9 Integrate Config into admin_nodeInfo response (#7206) 2024-03-20 11:21:31 +00:00
DaniPopes
9d039a233c chore(deps): use tikv-jemallocator instead of jemallocator (#7232) 2024-03-19 17:13:23 +00:00
Matthias Seitz
d86d4d2380 fix: enforce max inbound == 0 (#7229) 2024-03-19 16:57:28 +00:00
Justin Traglia
11bedc1884 Enable clippy's or_fun_call linter (#7222)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2024-03-19 15:52:41 +00:00
Justin Traglia
553a271533 Decode with EMPTY_STRING_CODE and buf.advance() (#7227) 2024-03-19 15:12:10 +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
Justin Traglia
c108a2476c Enable clippy's equatable_if_let linter (#7221) 2024-03-19 14:32:43 +00:00
int88
170306d3bd support IPv6 for NetworkArgs.addr and DiscoveryArgs.addr (#7210) 2024-03-19 14:28:30 +00:00
Justin Traglia
d91274eaa2 Enable clippy's redundant_clone linter (#7202)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-19 01:35:04 +00:00
Justin Traglia
b7ef60b899 Enable clippy's uninlined_format_args linter (#7204)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-18 23:29:19 +00:00
Håvard Anda Estensen
5b94dbb697 perf: replace BytesMut with alloy_rlp::encode (#7170) 2024-03-18 23:20:39 +00:00
Justin Traglia
f7d3cc5a09 Enable clippy's trait_duplication_in_bounds linter (#7201)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-18 22:53:17 +00:00
Justin Traglia
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
Abner Zheng
89b188e9ae fix bug: synchronized local node record with discv4 (#7181) 2024-03-18 22:13:44 +00:00
Matthias Seitz
804c54a3e7 feat: autoscale session event capacity (#7149) 2024-03-18 22:07:18 +00:00
Justin Traglia
80c5fcbd36 Enable clippy's empty_line_after_outer_attr linter (#7200) 2024-03-18 21:59:03 +00:00
Matthias Seitz
038a633599 fix: decrease pending out on already connected (#7197) 2024-03-18 19:45:03 +00:00
Matthias Seitz
de9fb89556 chore: remove txpool optimism feature (#7199) 2024-03-18 19:44:11 +00:00
Matthias Seitz
cee35a0afa docs: fix metric doc (#7198) 2024-03-18 18:32:41 +00:00
Delweng
7b3e418950 feat(net/manager): apply trust-nodes-only for incoming nodes (#7177)
Signed-off-by: jsvisa <delweng@gmail.com>
2024-03-18 10:51:14 +00:00
Emilia Hane
4e49aa9df6 Comment pool import error is not nonce gap (#7145)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-16 15:39:05 +00:00
Matthias Seitz
11dc546d10 feat: support trusted peer ids without address (#7155) 2024-03-16 15:06:53 +00:00
Abner Zheng
3b4726a714 fix: use tempdir when testing static files (#6962) 2024-03-16 12:57:18 +00:00
Dan Cline
82ec589dee fix: panic conditions for concat kdf in ecies (#7171) 2024-03-16 07:33:26 +00:00
Matthias Seitz
26f290eb71 fix: decrease connection info based on current state (#7165) 2024-03-15 20:03:22 +00:00
Abner Zheng
4e1c56f8d0 Track PendingIn state separately (#7163) 2024-03-15 18:30:53 +00:00
Abner Zheng
9312424db0 Always accept incoming connections from trusted peers (#7140) 2024-03-15 11:16:17 +00:00
Matthias Seitz
baa45c6a76 fix: enforce soft response limit accurately (#7142) 2024-03-14 17:28:17 +00:00
Håvard Anda Estensen
d2c8b77e64 perf: replace BytesMut with alloy_rlp::encode (#7087) 2024-03-14 12:11:20 +00:00
Dan Cline
eb6828350d fix: check that data is large enough to fit header and mac (#7118) 2024-03-12 16:09:15 +00:00
Dan Cline
f75bebd8d5 fix: use checked math for read_body (#7117) 2024-03-12 16:01:36 +00:00
Dan Cline
074747a419 fix: refactor ecies message parsing to check bounds (#7108) 2024-03-12 15:00:18 +00:00
Dan Cline
99711550d8 fix: use concat_kdf crate instead of hand rolled NIST SP 800-56A KDF (#7106) 2024-03-12 14:52:46 +00:00
Dan Cline
9707cb2b8d chore: remove test structs that are never constructed (#7107) 2024-03-12 03:59:13 +00:00
int88
ef1a196c54 fix: ban trusted peer for a short period (#7071) 2024-03-11 17:35:30 +00:00
Matthias Seitz
81291ff0fb chore: more Vec over BytesMut (#7084) 2024-03-11 12:50:50 +00:00
int88
6dbc5e0cee fix: remove redundant checking for if peer is banned (#7069)
Signed-off-by: int88 <golden-miner@qq.com>
2024-03-09 15:05:56 +00:00
rakita
d4ff65bfad bump: revm v7.1.0 (#7064) 2024-03-09 00:12:26 +00:00
Matthias Seitz
48b763f88a chore: bump max concurrent outbound dials (#7057) 2024-03-08 20:37:13 +00:00
Matthias Seitz
bf948d1719 chore: be less strict when slashing trusted peers (#7052) 2024-03-08 19:58:59 +00:00
DaniPopes
3c028e5ef4 chore: fix typos (#7049) 2024-03-08 14:23:37 +00:00
Håvard Anda Estensen
7fa35042dd perf: replace BytesMut with alloy_rlp::encode (#7047)
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
2024-03-08 13:56:28 +00:00
Emilia Hane
b66f54d9eb chore(deps): bump ethers to 2.0.14, enr to 0.10, unpin discv5 (#6634)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
2024-03-06 18:30:38 +00:00
Abner Zheng
6f8d1a8137 Rename TxType variants to UpperCamelCase (#7012) 2024-03-06 17:36:58 +00:00
Emilia Hane
ed086497b7 Shorten error message on debug assertion (#6988) 2024-03-06 15:37:13 +00:00