Commit Graph

78 Commits

Author SHA1 Message Date
10b97b29af chore: downgrade error and warn traces to debug (#2541) 2023-05-03 15:53:05 +02:00
a40f3d775c chore(deps): bump enr + secp256k1 (#2443) 2023-04-28 11:05:00 -07:00
9ee601a7a1 chore: add update ENR trace (#2394) 2023-04-25 16:51:53 +02:00
581e9ffcc4 fix: poll_tick does not register waker if ready (#2276) 2023-04-16 16:45:57 -04:00
47b9738ede chore: fix some typos (#2025) 2023-03-29 14:49:50 +02:00
fdf2792833 fix(discv4): track whether endpoint is proven (#1984) 2023-03-26 19:07:59 +02:00
ee226fc889 feat: use dnsdisc peers for discv4 bootstrap (#1983) 2023-03-26 12:42:08 +02:00
075544e889 refactor: various cleanups (#1833)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-03-18 14:13:09 +01:00
7ac06cd29f feat: use chain specific bootnodes (#1826) 2023-03-17 19:28:00 -04:00
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
15d79cedad chore(deps): upgrade secp256k1+enr (#1715) 2023-03-15 11:15:55 +01:00
e5a0fc6550 chore(clippy): make clippy happy (#1710) 2023-03-11 16:27:24 +02:00
e494011819 chore(discv4): remove deprecated EF bootnodes (#1680)
Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
2023-03-09 02:08:05 -08:00
9bdbbb2b9e fix(disc): trigger bootstrap if table empty (#1621) 2023-03-03 15:07:19 -05:00
dc57fbad07 fix(disc): allow concurrent lookups (#1539) 2023-02-24 13:21:05 +01:00
b21f24c7cc test(disc): fix flaky ping test (#1443) 2023-02-18 11:27:36 +01:00
a0410e46b7 fix(disc): only start pinging new node if insert succesful (#1435) 2023-02-17 17:46:05 +01:00
bacb3c59b2 fix(disc): ensure timestamp is within bounds of UNIX timestamp (#1433) 2023-02-17 16:26:28 +01:00
94f759761a fix(disc): enforce expiration timestamps by default (#1427) 2023-02-17 12:04:22 +01:00
ae2441a9f9 perf(disc): evict after processing incoming packets (#1400) 2023-02-16 21:45:32 +01:00
6005ecb89a perf(net): emit all discovred nodes (#1414) 2023-02-16 21:07:27 +01:00
f979c6c1fb chore: reexport bytes & bump version to 1.4 (#1395) 2023-02-16 10:33:28 -08:00
b0e79fd4a5 perf(disc): only remove node from table if its bucket is half full (#1412) 2023-02-16 10:16:53 -08:00
8a214d6f04 perf(disc): allow more FindNode failures (#1411) 2023-02-16 18:08:50 +01:00
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
804d8bf1da fix(disc): check insert result on neighbours response (#1401) 2023-02-16 14:03:19 +01:00
7842036c93 fix(disc): add missing expiration checks on messages (#1375) 2023-02-15 11:49:41 -05:00
007409601f fix(disc): only initiate endpoint proof if insert was succesful (#1377) 2023-02-15 11:48:20 -05:00
73ffc425a3 chore(disc): add traces when node record added (#1303) 2023-02-12 19:03:03 +01:00
d40d9e4d15 test(disc): add wrong to test (#1286) 2023-02-11 13:09:48 -08:00
d82553cd66 fix(disc): initiate endpoint proof on ping (#1258) 2023-02-09 23:04:33 +01:00
1d1d90bd19 feat: optional serde features (#1214)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-07 15:52:32 -08:00
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
1f64d8e9d7 refactor: pull reth/common/rlp up to reth/rlp (#1146) 2023-02-02 13:54:13 -08:00
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
115e623ae6 Ability to (de)serialize NetworkConfigBuilder (#897) 2023-01-18 11:17:43 +01:00
e9792c1b46 fix: compilation errors due to api breakages
follow up from https://github.com/paradigmxyz/reth/pull/888 merge conflict fix failure
2023-01-17 18:19:00 -08:00
bcbc3dacc7 test: rm multi_thread flavor for tests (#865) 2023-01-13 13:50:05 +01:00
49132a8d1a feat: Add neighbours_max_ipv4 test (#836) 2023-01-12 17:39:23 +01:00
20ee1bb1c9 refactor: move cli trace helpers to reth-tracing (#820) 2023-01-11 10:20:37 -08:00
da59ead58d fix(net): use mapped v4 when inserting records (#761) 2023-01-07 13:36:13 +01:00
1d2e0526a8 fix(disc): convert mapped ipv6 address (#754) 2023-01-06 18:26:40 +02:00
09bb2d9149 fix(disc): use remote addr for NodeRecord on ping (#753) 2023-01-06 17:48:55 +02:00
f359992dc3 feat(disc): add another self entry check (#748) 2023-01-06 14:43:29 +02:00
a94560fc5d fix(disc): use lookup target for distance (#742) 2023-01-06 09:41:09 +02:00
6cf5427af3 style(discv4): use event buffer (#737) 2023-01-05 17:50:09 +01:00
f924880d5d perf(disc): only initiate another auto lookup when previous finished (#733) 2023-01-05 17:46:18 +02:00
56cc999c5e fix(disc): mark node as queried before ping (#731) 2023-01-05 17:38:57 +02:00
13f143d06d feat(disc): add set_lookup_interval function (#696) 2023-01-03 16:53:52 +01:00
4efb7b92b8 fix(discv4): ignore self-entry on neighbours response (#664) 2022-12-30 06:09:22 -08:00