Commit Graph

164 Commits

Author SHA1 Message Date
Emilia Hane
5fc77551dd fix(discv5): return discv5 local node record (#10640) 2024-09-03 10:22:08 +00:00
nk_ysg
22f928a2b1 feat : add the ability to connect to a peer (#10028)
Co-authored-by: Emilia Hane <emiliaha95@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-08-24 07:16:34 +00:00
Emilia Hane
33f612a41a chore(net): Move reth_network::NetworkEvents into reth-network-api (#10062) 2024-08-05 20:27:59 +00:00
Emilia Hane
d12f0ab815 Move PeersHandleProvider to new module reth_network_api::test_utils (#10060) 2024-08-05 08:46:49 +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
Emilia Hane
78703b5729 Move reputation types from reth-network-api to reth-network-types (#9914)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-07-31 20:08:38 +00:00
Matthias Seitz
2bd99faee3 perf: use try_join_all when resolving bootnodes (#9886) 2024-07-29 23:40:47 +00:00
Matthias Seitz
eb2d0a22d9 fix: also set configured bootnodes for discv5 (#9885) 2024-07-29 23:40:24 +00:00
Tuan Tran
e6f2dca445 chore(net): enable rust.unnameable-types = "warn" lint (#9505) 2024-07-16 17:40:10 +00:00
Luca Provini
a617bd0f3b replaced generic to box dyn (#9443) 2024-07-12 14:15:23 +00:00
nk_ysg
d0f78bdb39 feat: add fs-util for reading, writing json files (#9418) 2024-07-10 14:40:50 +00:00
Querty
c5167a4784 refactor: move write_peers_to_file to NetworkManager impl (#9134)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-07-03 14:05:44 +00:00
Matthias Seitz
d41aac380b feat: add non feature gated noop block reader (#9261) 2024-07-03 13:33:43 +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
Delweng
d4fa9defbd feat(net/peer): set rpc added peer as static (#9201)
Signed-off-by: jsvisa <delweng@gmail.com>
2024-07-01 10:23:28 +00:00
Delweng
b93e70c429 feat(net/peer): add peer with udp socket (#9156)
Signed-off-by: jsvisa <delweng@gmail.com>
2024-06-29 09:02:09 +00:00
Thomas Coratger
530e7e8961 refactor(net): move node record constants to network-peers crate (#9161) 2024-06-28 09:45:23 +02:00
Matthias Seitz
a34e41c275 chore(deps): rm reth-rpc-types dep from reth-network (#9023) 2024-06-21 21:47:03 +00:00
joshieDo
2a5c93fab3 chore: use reth_chainspec where possible (#8891) 2024-06-17 16:09:09 +00:00
Matthias Seitz
22e6afe3f1 fix(net): use real tcp port for local node record (#8853) 2024-06-14 21:38:19 +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
Dan Cline
ef3f67743d feat: resolve domains in enode strings (#8188)
Co-authored-by: Serge Radinovich <47865535+sergerad@users.noreply.github.com>
2024-06-05 23:43:25 +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
Emilia Hane
a8a4f67ab0 perf(net): decrease budget EthRequestHandler + metrics (#8497) 2024-05-30 21:29:36 +00:00
Thomas Coratger
3d3f52b2a4 Add missing_const_for_fn clippy lint (#8498) 2024-05-30 09:50:03 +00:00
Matthias Seitz
50590aa18c chore: rm redundant pin (#8397) 2024-05-25 16:11:48 +00:00
Federico Gimenez
d0386b8166 feat: use broadcast channel for event listeners (#8193)
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
2024-05-22 17:36:51 +00:00
jn
8f8b29b3ce refactor: replace futures_util pin and tokio_pin with std pin (#8109) 2024-05-06 10:14:54 +00:00
Roman Krasiuk
aef1bcc435 chore: make clippy happy (#8068) 2024-05-03 10:18:41 +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
Matthias Seitz
e50f942d47 chore: use alloy nodeinfo (#7512) 2024-04-10 14:19:09 +00:00
Matthias Seitz
b89af430e2 feat: extract optimism sequencer client to node-optimism (#7482) 2024-04-05 21:35:02 +00:00
Emilia Hane
633806ef3f feat(discv5): plug discv5 crate into network (#7446) 2024-04-04 12:18:53 +00:00
Dan Cline
88186a257c chore: make Session established log debug (#7301) 2024-03-22 19:56:08 +00:00
Thomas Coratger
0a803c49a9 Integrate Config into admin_nodeInfo response (#7206) 2024-03-20 11:21:31 +00:00
Matthias Seitz
a8c692c5b5 feat: add metrics for pending connections (#7225) 2024-03-19 14:45:22 +00:00
Abner Zheng
89b188e9ae fix bug: synchronized local node record with discv4 (#7181) 2024-03-18 22:13:44 +00:00
Matthias Seitz
11dc546d10 feat: support trusted peer ids without address (#7155) 2024-03-16 15:06:53 +00:00
Matthias Seitz
26f290eb71 fix: decrease connection info based on current state (#7165) 2024-03-15 20:03:22 +00:00
Emilia Hane
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
abhi
0d3b77f3c1 restrict max concurrent outbound dials (#6860) 2024-03-04 17:34:28 +00:00
Emilia Hane
559124ac5a Performance metrics for NetworkManager future (#6746) 2024-02-29 02:55:09 +00:00
Qiwei Yang
a27626cc22 feat: NetworkHandle get access to TransactionsHandle (#6780) 2024-02-27 10:31:54 +00:00
DaniPopes
94cb6a8bcd chore: use Display instead of Debug for most errors (#6777) 2024-02-24 12:13:41 +00:00
DaniPopes
6890e02310 fmt: format tracing macro calls (#6776) 2024-02-24 10:58:01 +00:00
Dan Cline
a554c1fbf8 chore: remove unused genesis_hash in NetworkState and NetworkManager (#6704) 2024-02-21 12:03:04 +00:00
Matthias Seitz
a7ae6e4914 chore: decrease network manager budget (#6640)
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
2024-02-17 16:58:19 +00:00
back
208eb6d6a1 Make transaction manager param configurable from cli (#6594)
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
Co-authored-by: Bjerg <onbjerg@users.noreply.github.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-02-16 22:25:55 +00:00