Commit Graph

87 Commits

Author SHA1 Message Date
Matthias Seitz
2f46fe6d48 chore: use leaner NoopProvider in network (#13178) 2024-12-06 12:49:57 +00:00
Dan Cline
1f6b7d1239 feat: wire network primitives to remaining components (#13143) 2024-12-04 22:51:19 +00:00
Arsenii Kulikov
793fc23e05 fix: correctly poll NetworkState (#12973) 2024-11-28 19:35:32 +00:00
Matthias Seitz
f12d7a9264 chore: use ethereum-forks types directly (#12702) 2024-11-20 11:15:48 +00:00
Thomas Coratger
001f3899fd primitives: rm alloy Header reexport (#12515) 2024-11-13 16:41:25 +00:00
Arsenii Kulikov
b39957612a feat: make more network components generic over primitives (#12481) 2024-11-12 19:29:42 +00:00
Arsenii Kulikov
aece53ae88 feat: make downloaders and clients generic over block parts (#12469)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-11-12 15:13:21 +00:00
Håvard Anda Estensen
ae9b13f4a1 net: replace reth-primitive imports (#11023) 2024-09-19 08:29:01 +00:00
Thomas Coratger
69e5a8587b clippy: add manual_is_variant_and clippy lint (#10556) 2024-08-27 10:04:19 +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
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
Luca Provini
a617bd0f3b replaced generic to box dyn (#9443) 2024-07-12 14:15:23 +00:00
Matthias Seitz
d41aac380b feat: add non feature gated noop block reader (#9261) 2024-07-03 13:33:43 +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
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
b686872716 add explicit_into_iter_loop clippy lint (#8569) 2024-06-03 17:44:44 +00:00
Thomas Coratger
e02b935e94 add match_same_arms clippy lint (#8549) 2024-06-03 17:42: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
Thomas Coratger
3d3f52b2a4 Add missing_const_for_fn clippy lint (#8498) 2024-05-30 09:50:03 +00:00
Matthias Seitz
de4e0ba041 chore: rm reth-interfaces from network (#8435) 2024-05-28 16:11:08 +00:00
Waylon Jepsen
31b6bdd13c wip: lru changes (#7484)
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
2024-05-17 01:31:47 +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
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
Matthias Seitz
11dc546d10 feat: support trusted peer ids without address (#7155) 2024-03-16 15:06:53 +00:00
DaniPopes
3c028e5ef4 chore: fix typos (#7049) 2024-03-08 14:23:37 +00:00
Dan Cline
a554c1fbf8 chore: remove unused genesis_hash in NetworkState and NetworkManager (#6704) 2024-02-21 12:03:04 +00:00
Fabian Zeiher
df4774c709 fix: randomly sample peers in NetworkState::announce_new_block() for block propagation (#5930) 2024-01-10 15:14:17 +00:00
DaniPopes
b1b059fe9b chore: clean up lints (#5881) 2023-12-28 16:23:50 +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
Matthias Seitz
f782a33310 chore: downgrade debug! to trace! (#5186) 2023-10-26 09:13:26 +00:00
DaniPopes
5f9a917fb1 feat: Alloy migration (#4737)
Co-authored-by: Alessandro Mazza <121622391+alessandromazza98@users.noreply.github.com>
Co-authored-by: Supernovahs.eth <91280922+supernovahs@users.noreply.github.com>
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
2023-09-28 15:55:39 +00:00
DaniPopes
8f9d2908ca chore: add and fix more lints, improve docs (#4765) 2023-09-25 15:46:46 +00:00
Matthias Seitz
cac4049a08 chore: relax network blockreader trait bounds (#4079) 2023-08-05 16:00:05 +02:00
Supernovahs.eth
6d1e8a2ecc feat:new discovered node record event stream (#3707)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-07-17 09:42:28 +00:00
Matthias Seitz
4c7f980c77 chore: add network example (#3753) 2023-07-13 15:26:02 +00:00
joshieDo
054f30f43c chore: rename Block*Provider for Block*Reader (#3385) 2023-06-26 14:13:45 +00:00
Matthias Seitz
10b97b29af chore: downgrade error and warn traces to debug (#2541) 2023-05-03 15:53:05 +02:00
Dan Cline
b28c40223e chore: move block body to primitives (#1874) 2023-03-20 21:14:23 -07:00
Matthias Seitz
7c9b212b4a chore: relax Arc requirement for provider (#1429) 2023-02-17 14:40:20 +01:00
Matthias Seitz
5c32ad01c9 refactor: add Peers trait und decouple rpc from NetworkHandle (#1100) 2023-01-31 10:32:45 -08:00
Bjerg
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
Matthias Seitz
a1dfafe331 docs: additional response handling docs (#917) 2023-01-18 11:33:56 -05:00
Matthias Seitz
79fad91ca0 feat(net): integrate num active peers in downloader (#900)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-01-17 01:31:52 -08:00
Sanket Shanbhag
5c80bc9122 fix: validate fork_id before adding peer from discovery (#871) 2023-01-13 18:30:34 +01:00