Commit Graph

164 Commits

Author SHA1 Message Date
2852893a7d chore: rename network-types to network-peers (#8699) 2024-06-09 13:13:46 +00:00
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
b686872716 add explicit_into_iter_loop clippy lint (#8569) 2024-06-03 17:44:44 +00:00
e02b935e94 add match_same_arms clippy lint (#8549) 2024-06-03 17:42:25 +00:00
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
3d3f52b2a4 Add missing_const_for_fn clippy lint (#8498) 2024-05-30 09:50:03 +00:00
19c529e8df add use_self clippy lint (#8325) 2024-05-29 13:14:14 +00:00
2e47e9fb0d feat: add udp packet ratelimiting (#8406)
Co-authored-by: Federico Gimenez <fgimenez@users.noreply.github.com>
2024-05-27 12:27:34 +00:00
ed926ec9b9 chore: move generic-array to workspace (#8404) 2024-05-27 14:36:39 +02:00
f3013e4ea4 fix: validate received ENR response in discv4 (#8407) 2024-05-27 11:22:08 +00:00
f45ca74772 refactor(consensus, evm): move post-execution validation to consensus (#8321) 2024-05-22 17:20:14 +00:00
f20e4cbad8 debt(discv5): discv5 integration into network (#8065) 2024-05-03 12:38:26 +00:00
aef1bcc435 chore: make clippy happy (#8068) 2024-05-03 10:18:41 +00:00
14d91c3ba0 fix: make discv4 packets adhere to eip-8 (#8039) 2024-05-02 13:58:17 +00:00
581682605c fix(net, discv4): call find_node with valid endpoint (#8002) 2024-04-30 16:38:52 +00:00
6d7cd53ad2 chore(discv4): limit number of queued pings (#7999)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-04-30 14:30:00 +00:00
d0973bb6dc fix: correct expiration for discv4 lookup requests (#7996) 2024-04-30 14:23:32 +00:00
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
6425064d07 fix: use enrforkid in dns (#7900)
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
2024-04-26 09:24:26 +00:00
e2e5201d8a chore(deps): bump enr, discv5, secp256k1 (#7000)
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
2024-04-25 19:50:38 +00:00
4c4aaafff4 test: add test_requests_timeout() for disv4 (#7693) 2024-04-17 09:44:30 +00:00
5efe17370f test: extend test_pending_ping() to respect limit of pending_pings (#7520) 2024-04-09 12:18:04 +00:00
d6dd1c2dab chore: use while for all poll_tick() to make code consistent (#7510) 2024-04-08 15:15:25 +00:00
cc2d84a808 chore: set expiration duration properly (#7507) 2024-04-08 11:54:47 +00:00
3cafd586cf feat(discv5): config via cli (#7394) 2024-04-03 12:27:46 +00:00
c13d7da68d chore: move pk2id and id2pk to primitives (#7382) 2024-03-29 21:43:52 +00:00
a31202670b chore: apply some style suggestions (#7307) 2024-03-24 22:52:33 +00:00
170306d3bd support IPv6 for NetworkArgs.addr and DiscoveryArgs.addr (#7210) 2024-03-19 14:28:30 +00:00
5b94dbb697 perf: replace BytesMut with alloy_rlp::encode (#7170) 2024-03-18 23:20:39 +00:00
d2c8b77e64 perf: replace BytesMut with alloy_rlp::encode (#7087) 2024-03-14 12:11:20 +00:00
81291ff0fb chore: more Vec over BytesMut (#7084) 2024-03-11 12:50:50 +00:00
3c028e5ef4 chore: fix typos (#7049) 2024-03-08 14:23:37 +00:00
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
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
5e2cac442f 0x/rm unused dep (#6899)
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
2024-03-01 11:34:31 +00:00
19ff1fb35c chore: downgrade discv4 debug! to trace! (#6879) 2024-02-29 14:08:32 +00:00
0f26cd6df3 fix: get MAX_NODES_PER_BUCKET when respond closest (#6842) 2024-02-28 14:18:24 +00:00
94cb6a8bcd chore: use Display instead of Debug for most errors (#6777) 2024-02-24 12:13:41 +00:00
6890e02310 fmt: format tracing macro calls (#6776) 2024-02-24 10:58:01 +00:00
9ca813aee2 chore: remove some unnecessary calls to unwrap/expect (#6727) 2024-02-22 16:36:08 +00:00
477a0185e2 docs: finish missing doc (#6668) 2024-02-19 11:30:51 +00:00
79452eadaf chore: make clippy happy (#6666) 2024-02-19 06:31:47 +00:00
2b92948501 chore: discv4 touchups (#6639)
Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
2024-02-18 01:13:14 +00:00
189d76735e fix: initial total_bytes value for response limit and typos (#6449) 2024-02-06 21:33:00 +00:00
ea36b58cb2 add missing documentation and minor refactor (#6152) 2024-01-22 10:26:47 +00:00
90e1c432de feat(discv4): small improvements and documentation for discv4 (#6149) 2024-01-21 15:54:46 +00:00
e2687c4525 chore: avoid .as_ref().to_vec() when Into<Vec<u8>> is available (#6071) 2024-01-15 10:21:54 +00:00
2287392405 feat: Add random lookup for discv4 (#5975) 2024-01-08 17:52:24 +00:00
bc192d9361 chore: make clippy happy (#5959) 2024-01-06 13:30:59 +01:00
92f33b071c add missing documentation for various crates (#5950) 2024-01-05 13:10:37 +00:00