Commit Graph

458 Commits

Author SHA1 Message Date
c168ef4433 feat: implement eth handshake disconnects (#1494) 2023-02-22 12:18:12 +01:00
0fc9f67af8 feat(eth-wire): add td bitlen check in handshake (#1490) 2023-02-21 16:41:51 -05:00
f78da81e1e feat(net): support eth68 transactions (#1482) 2023-02-21 14:34:59 -05:00
f0f8f417d6 chore: add EthVersion::LATEST constant (#1479) 2023-02-21 09:26:30 -05:00
1d2bb1f11d chore: add eth68 to default capabilities (#1475) 2023-02-21 09:26:09 -05:00
4e66cc7ea7 chore(net): add negotiated eth version to events (#1478) 2023-02-21 13:26:17 +01:00
c9075920c1 feat(net): support eth/68 (#1361)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-02-20 19:37:03 -08:00
058349ecf8 chore(net): print unexpected event (#1466) 2023-02-20 16:21:33 +01:00
50203a8f2a chore: phase out ethers rpc block types (#1463) 2023-02-20 16:02:33 +01:00
bdb0bd6897 test: LruCache (#1436)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-18 15:26:11 -08:00
dba6b24bde chore: clippy fixes and make benches compile again (#1449) 2023-02-18 13:44:06 +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
7c9b212b4a chore: relax Arc requirement for provider (#1429) 2023-02-17 14:40:20 +01:00
94f759761a fix(disc): enforce expiration timestamps by default (#1427) 2023-02-17 12:04:22 +01:00
760f76ab86 fix(net): set tracked peers metric by value (#1420) 2023-02-16 13:27:40 -08: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
d2ec304bd3 feat: allows to disable dns and discv4 discovery separately (#1406) 2023-02-16 10:30:47 -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
9b81b4f20d chore: Header::seal and Header::seal_slow distinction (#1409) 2023-02-16 08:55:58 -08: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
e97753c768 feat: withdrawals (#1322)
Co-authored-by: rakita <rakita@users.noreply.github.com>
2023-02-16 04:44:05 -08:00
d19720aa77 chore: add test for status init (#1388) 2023-02-15 18:20:59 -08:00
4f1ec0d8d2 fix: use td from current head for status (#1386) 2023-02-15 16:08:37 -08:00
03f74a53be fix: return correct file client tip (#1385) 2023-02-15 15:53:17 -08: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
5bf41610d7 fix: handle closed download channel in headers downloader (#1369) 2023-02-15 12:34:07 +01:00
94686b8bbe fix(download): propagate body request error (#1365) 2023-02-15 10:43:12 +01:00
d3817b1901 feat: more downloader metrics (#1189) 2023-02-15 00:52:04 +01:00
f995e66c96 chore: integrate Boxed TaskSpawner (#1356) 2023-02-14 21:44:22 +01:00
6e89af9e8e fix(net): handle closed channel in Spawned downloader (#1346) 2023-02-14 18:21:14 +01:00
d216081b58 feat: add Finish stage (#1279) 2023-02-14 17:10:50 +01:00
0aaf51d462 test(net): speedup network tests (#1337) 2023-02-14 15:53:05 +01:00
cd1afccf52 revert: "Revert "cli: integrate TaskExecutor" (#1329)" (#1336) 2023-02-14 15:50:19 +01:00
48d121dc54 Revert "cli: integrate TaskExecutor" (#1329) 2023-02-13 19:28:19 -08:00
5997103078 cli: integrate TaskExecutor (#1314) 2023-02-13 14:24:18 -08:00
6a2c61f4d9 test(net): add tracing to shutdown test (#1310) 2023-02-13 05:34:18 -08:00
211c7e3401 test(net): disable discv4 discovery in tests by default (#1311) 2023-02-13 14:22:10 +01:00
37351df585 feat: extend task executor (#1302) 2023-02-13 10:42:48 +01:00
73ffc425a3 chore(disc): add traces when node record added (#1303) 2023-02-12 19:03:03 +01:00
a789557874 fix: p2p head initial td (#1294) 2023-02-11 13:41:38 -08:00
d40d9e4d15 test(disc): add wrong to test (#1286) 2023-02-11 13:09:48 -08:00
eba63b8f77 fix: chainspec ttd check (#1285)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-02-11 12:49:01 -08:00
b82eac4b00 Unify builder argument order (#1276) 2023-02-10 16:58:05 -05:00