Commit Graph

648 Commits

Author SHA1 Message Date
0c363ea010 fix(tx-mgr): report peers that send known bad transactions (#7400) 2024-03-31 12:53:51 +00:00
bfadc26b37 Add metrics for observing tx fetch outcome (#7401) 2024-03-30 21:17:54 +00:00
87c4ae744a Clean up log messages (#7390) 2024-03-30 02:47:38 +00:00
c13d7da68d chore: move pk2id and id2pk to primitives (#7382) 2024-03-29 21:43:52 +00:00
d6e4eab527 fix: err if no incoming capacity and no trusted nodes (#7361) 2024-03-27 22:53:09 +00:00
d9ce894fa3 feat: enable nursery lints without findings (#7334) 2024-03-26 12:53:51 +00:00
b58cca7f91 fix: race condition concurrent in and out from same peer (#7317) 2024-03-25 11:19:19 +00:00
a31202670b chore: apply some style suggestions (#7307) 2024-03-24 22:52:33 +00:00
88186a257c chore: make Session established log debug (#7301) 2024-03-22 19:56:08 +00:00
0da7b7c314 chore: fix typos (#7264) 2024-03-21 12:10:09 +00:00
28b983403e chore: move op types; less op cfgs (#7255) 2024-03-20 18:17:23 +00:00
0a803c49a9 Integrate Config into admin_nodeInfo response (#7206) 2024-03-20 11:21:31 +00:00
d86d4d2380 fix: enforce max inbound == 0 (#7229) 2024-03-19 16:57:28 +00:00
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
1ad50d148a fix: enforce timeouts for pending sessions (#7219) 2024-03-19 15:05:50 +00:00
a8c692c5b5 feat: add metrics for pending connections (#7225) 2024-03-19 14:45:22 +00:00
c108a2476c Enable clippy's equatable_if_let linter (#7221) 2024-03-19 14:32:43 +00:00
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
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
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
89b188e9ae fix bug: synchronized local node record with discv4 (#7181) 2024-03-18 22:13:44 +00:00
804c54a3e7 feat: autoscale session event capacity (#7149) 2024-03-18 22:07:18 +00:00
038a633599 fix: decrease pending out on already connected (#7197) 2024-03-18 19:45:03 +00:00
de9fb89556 chore: remove txpool optimism feature (#7199) 2024-03-18 19:44:11 +00:00
cee35a0afa docs: fix metric doc (#7198) 2024-03-18 18:32:41 +00:00
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
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
11dc546d10 feat: support trusted peer ids without address (#7155) 2024-03-16 15:06:53 +00:00
26f290eb71 fix: decrease connection info based on current state (#7165) 2024-03-15 20:03:22 +00:00
4e1c56f8d0 Track PendingIn state separately (#7163) 2024-03-15 18:30:53 +00:00
9312424db0 Always accept incoming connections from trusted peers (#7140) 2024-03-15 11:16:17 +00:00
baa45c6a76 fix: enforce soft response limit accurately (#7142) 2024-03-14 17:28:17 +00:00
9707cb2b8d chore: remove test structs that are never constructed (#7107) 2024-03-12 03:59:13 +00:00
ef1a196c54 fix: ban trusted peer for a short period (#7071) 2024-03-11 17:35:30 +00:00
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
d4ff65bfad bump: revm v7.1.0 (#7064) 2024-03-09 00:12:26 +00:00
48b763f88a chore: bump max concurrent outbound dials (#7057) 2024-03-08 20:37:13 +00:00
bf948d1719 chore: be less strict when slashing trusted peers (#7052) 2024-03-08 19:58:59 +00:00
3c028e5ef4 chore: fix typos (#7049) 2024-03-08 14:23:37 +00:00
6f8d1a8137 Rename TxType variants to UpperCamelCase (#7012) 2024-03-06 17:36:58 +00:00
ed086497b7 Shorten error message on debug assertion (#6988) 2024-03-06 15:37:13 +00:00
a1df972464 chore: remove most ethers mentions and code (#6999) 2024-03-06 14:38:15 +00:00
c7826cb555 fix: immediately refill slots (#6997) 2024-03-06 14:33:32 +00:00
422b8f8e75 Prioritisation network manager + transactions manager + eth request handler (#6590)
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
2024-03-06 13:43:21 +00:00
23a72d3fce remove clique related tests (#6996)
Signed-off-by: int88 <golden-miner@qq.com>
2024-03-06 12:31:46 +00:00
ec401aa781 rm deposit from pooledtx (#6941)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-05 10:48:50 +00:00
ebe72f7ae8 Tx fetcher metrics (#6951) 2024-03-04 17:39:54 +00:00
0d3b77f3c1 restrict max concurrent outbound dials (#6860) 2024-03-04 17:34:28 +00:00
a792f160db Comment TransactionsManager (#6651) 2024-03-04 17:17:58 +00:00
b75862010a fix(tx-fetcher): only remove peer from active_peers when inflight_count <= 0 (#6928)
Signed-off-by: int88 <golden-miner@qq.com>
2024-03-03 18:29:55 +00:00