Commit Graph

93 Commits

Author SHA1 Message Date
Matthias Seitz
7a922a6ed0 perf: create buffer once (#4226) 2023-08-16 16:26:16 +00:00
Matthias Seitz
491b453edb feat: track node record (#4224) 2023-08-16 16:26:06 +00:00
Matthias Seitz
b232e05b26 fix: track established bonds (#4229) 2023-08-16 16:17:20 +00:00
Matthias Seitz
8cdb097829 chore: simplify workspace = true usage (#3930) 2023-07-26 15:21:09 +00:00
Léo Vincent
0096739dbb doc: add reth logo to docs (#3317)
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
2023-06-26 15:41:11 +00:00
Bjerg
77167134d0 docs: document crate features (#3269) 2023-06-21 19:35:38 +00:00
Bjerg
7ab8a7f3ec chore: use workspace version (#3240) 2023-06-19 17:29:15 +00:00
Matthias Seitz
efb100c124 fix: fork id decoding from enr response (#3220) 2023-06-19 08:56:42 +00:00
Matthias Seitz
187af8b380 test: add another fork id test (#3219) 2023-06-19 08:51:30 +00:00
Dan Cline
85085896a9 fix: encode forkid entry in struct, accept trailing fields (#3193) 2023-06-15 20:04:23 +00:00
Waylon Jepsen
ea2fcee995 chore: use workspace dependencies (#3132) 2023-06-13 22:46:26 +00:00
DaniPopes
171166e84a chore: add msrv to manifests, add and use workspace.package (#3006) 2023-06-06 03:45:44 +00:00
Bjerg
d2c68edf23 feat: rework logs (#2988) 2023-06-05 17:43:14 +00:00
Matthias Seitz
79f99ad0fc chore: convert datagram failure error to debug (#2869) 2023-05-26 16:55:19 +00:00
Georgios Konstantopoulos
ae2b0954c6 perf: do not compile traces in release mode (#2652) 2023-05-15 17:06:10 -07:00
Matthias Seitz
10b97b29af chore: downgrade error and warn traces to debug (#2541) 2023-05-03 15:53:05 +02:00
Matthias Seitz
a40f3d775c chore(deps): bump enr + secp256k1 (#2443) 2023-04-28 11:05:00 -07:00
Matthias Seitz
9ee601a7a1 chore: add update ENR trace (#2394) 2023-04-25 16:51:53 +02:00
Matthias Seitz
581e9ffcc4 fix: poll_tick does not register waker if ready (#2276) 2023-04-16 16:45:57 -04:00
Matthias Seitz
47b9738ede chore: fix some typos (#2025) 2023-03-29 14:49:50 +02:00
Matthias Seitz
fdf2792833 fix(discv4): track whether endpoint is proven (#1984) 2023-03-26 19:07:59 +02:00
Dan Cline
ee226fc889 feat: use dnsdisc peers for discv4 bootstrap (#1983) 2023-03-26 12:42:08 +02:00
François Garillot
075544e889 refactor: various cleanups (#1833)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-03-18 14:13:09 +01:00
Dan Cline
7ac06cd29f feat: use chain specific bootnodes (#1826) 2023-03-17 19:28:00 -04:00
his-dudenesss
57894f7b98 Issue 1770 move rlp impl for enr to discv4 crate (#1804)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-03-16 16:59:29 -07:00
Matthias Seitz
15d79cedad chore(deps): upgrade secp256k1+enr (#1715) 2023-03-15 11:15:55 +01:00
Matthias Seitz
e5a0fc6550 chore(clippy): make clippy happy (#1710) 2023-03-11 16:27:24 +02:00
Rafael Matias
e494011819 chore(discv4): remove deprecated EF bootnodes (#1680)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-03-09 02:08:05 -08:00
Matthias Seitz
9bdbbb2b9e fix(disc): trigger bootstrap if table empty (#1621) 2023-03-03 15:07:19 -05:00
Matthias Seitz
dc57fbad07 fix(disc): allow concurrent lookups (#1539) 2023-02-24 13:21:05 +01:00
Matthias Seitz
b21f24c7cc test(disc): fix flaky ping test (#1443) 2023-02-18 11:27:36 +01:00
Matthias Seitz
a0410e46b7 fix(disc): only start pinging new node if insert succesful (#1435) 2023-02-17 17:46:05 +01:00
Matthias Seitz
bacb3c59b2 fix(disc): ensure timestamp is within bounds of UNIX timestamp (#1433) 2023-02-17 16:26:28 +01:00
Matthias Seitz
94f759761a fix(disc): enforce expiration timestamps by default (#1427) 2023-02-17 12:04:22 +01:00
Matthias Seitz
ae2441a9f9 perf(disc): evict after processing incoming packets (#1400) 2023-02-16 21:45:32 +01:00
Matthias Seitz
6005ecb89a perf(net): emit all discovred nodes (#1414) 2023-02-16 21:07:27 +01:00
Roman Krasiuk
f979c6c1fb chore: reexport bytes & bump version to 1.4 (#1395) 2023-02-16 10:33:28 -08:00
Matthias Seitz
b0e79fd4a5 perf(disc): only remove node from table if its bucket is half full (#1412) 2023-02-16 10:16:53 -08:00
Matthias Seitz
8a214d6f04 perf(disc): allow more FindNode failures (#1411) 2023-02-16 18:08:50 +01:00
Matthias Seitz
39949fdd08 fix(disc): only answer FindNode if endpoint proof exists (#1404)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-02-16 17:42:11 +01:00
Matthias Seitz
804d8bf1da fix(disc): check insert result on neighbours response (#1401) 2023-02-16 14:03:19 +01:00
Matthias Seitz
7842036c93 fix(disc): add missing expiration checks on messages (#1375) 2023-02-15 11:49:41 -05:00
Matthias Seitz
007409601f fix(disc): only initiate endpoint proof if insert was succesful (#1377) 2023-02-15 11:48:20 -05:00
Matthias Seitz
73ffc425a3 chore(disc): add traces when node record added (#1303) 2023-02-12 19:03:03 +01:00
Matthias Seitz
d40d9e4d15 test(disc): add wrong to test (#1286) 2023-02-11 13:09:48 -08:00
Matthias Seitz
d82553cd66 fix(disc): initiate endpoint proof on ping (#1258) 2023-02-09 23:04:33 +01:00
Tomás
1d1d90bd19 feat: optional serde features (#1214)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-07 15:52:32 -08:00
Tomás
27b07f57f0 fix: add serde feature to secp256k1 dep in discv4 (#1205)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-07 15:19:53 +01:00
Georgios Konstantopoulos
1f64d8e9d7 refactor: pull reth/common/rlp up to reth/rlp (#1146) 2023-02-02 13:54:13 -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