Commit Graph

464 Commits

Author SHA1 Message Date
Dan Cline
71bc1451af fix: use correct type for NewPooledTransactionHashes68 (#1548) 2023-02-28 21:20:02 +01:00
Matthias Seitz
305e992eed docs: rm global ip docs (#1555) 2023-02-25 10:22:31 +01:00
Dan Cline
1b52fe90c8 feat: do not ban non-global IPs (#1549) 2023-02-24 18:21:02 -05:00
Matthias Seitz
dc57fbad07 fix(disc): allow concurrent lookups (#1539) 2023-02-24 13:21:05 +01:00
Roman Krasiuk
f21f9c5b4e chore(download): response validation order (#1537) 2023-02-24 09:35:03 +01:00
Roman Krasiuk
b14ee4e925 perf(download): parallel header sealing (#1536) 2023-02-24 09:13:18 +01:00
Dan Cline
c168ef4433 feat: implement eth handshake disconnects (#1494) 2023-02-22 12:18:12 +01:00
Dan Cline
0fc9f67af8 feat(eth-wire): add td bitlen check in handshake (#1490) 2023-02-21 16:41:51 -05:00
Matthias Seitz
f78da81e1e feat(net): support eth68 transactions (#1482) 2023-02-21 14:34:59 -05:00
Matthias Seitz
f0f8f417d6 chore: add EthVersion::LATEST constant (#1479) 2023-02-21 09:26:30 -05:00
Matthias Seitz
1d2bb1f11d chore: add eth68 to default capabilities (#1475) 2023-02-21 09:26:09 -05:00
Matthias Seitz
4e66cc7ea7 chore(net): add negotiated eth version to events (#1478) 2023-02-21 13:26:17 +01:00
Kim, JinSan
c9075920c1 feat(net): support eth/68 (#1361)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-02-20 19:37:03 -08:00
Matthias Seitz
058349ecf8 chore(net): print unexpected event (#1466) 2023-02-20 16:21:33 +01:00
Matthias Seitz
50203a8f2a chore: phase out ethers rpc block types (#1463) 2023-02-20 16:02:33 +01:00
Matías Ignacio González
bdb0bd6897 test: LruCache (#1436)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
2023-02-18 15:26:11 -08:00
Matthias Seitz
dba6b24bde chore: clippy fixes and make benches compile again (#1449) 2023-02-18 13:44:06 +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
7c9b212b4a chore: relax Arc requirement for provider (#1429) 2023-02-17 14:40:20 +01:00
Matthias Seitz
94f759761a fix(disc): enforce expiration timestamps by default (#1427) 2023-02-17 12:04:22 +01:00
Matthias Seitz
760f76ab86 fix(net): set tracked peers metric by value (#1420) 2023-02-16 13:27:40 -08: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
Aurélien
d2ec304bd3 feat: allows to disable dns and discv4 discovery separately (#1406) 2023-02-16 10:30:47 -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
Roman Krasiuk
9b81b4f20d chore: Header::seal and Header::seal_slow distinction (#1409) 2023-02-16 08:55:58 -08: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
Roman Krasiuk
e97753c768 feat: withdrawals (#1322)
Co-authored-by: rakita <rakita@users.noreply.github.com>
2023-02-16 04:44:05 -08:00
Dan Cline
d19720aa77 chore: add test for status init (#1388) 2023-02-15 18:20:59 -08:00
Dan Cline
4f1ec0d8d2 fix: use td from current head for status (#1386) 2023-02-15 16:08:37 -08:00
Dan Cline
03f74a53be fix: return correct file client tip (#1385) 2023-02-15 15:53:17 -08: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
5bf41610d7 fix: handle closed download channel in headers downloader (#1369) 2023-02-15 12:34:07 +01:00
Roman Krasiuk
94686b8bbe fix(download): propagate body request error (#1365) 2023-02-15 10:43:12 +01:00
Bjerg
d3817b1901 feat: more downloader metrics (#1189) 2023-02-15 00:52:04 +01:00
Matthias Seitz
f995e66c96 chore: integrate Boxed TaskSpawner (#1356) 2023-02-14 21:44:22 +01:00
Matthias Seitz
6e89af9e8e fix(net): handle closed channel in Spawned downloader (#1346) 2023-02-14 18:21:14 +01:00
Bjerg
d216081b58 feat: add Finish stage (#1279) 2023-02-14 17:10:50 +01:00
Matthias Seitz
0aaf51d462 test(net): speedup network tests (#1337) 2023-02-14 15:53:05 +01:00
Matthias Seitz
cd1afccf52 revert: "Revert "cli: integrate TaskExecutor" (#1329)" (#1336) 2023-02-14 15:50:19 +01:00
Georgios Konstantopoulos
48d121dc54 Revert "cli: integrate TaskExecutor" (#1329) 2023-02-13 19:28:19 -08:00
Matthias Seitz
5997103078 cli: integrate TaskExecutor (#1314) 2023-02-13 14:24:18 -08:00
Matthias Seitz
6a2c61f4d9 test(net): add tracing to shutdown test (#1310) 2023-02-13 05:34:18 -08:00
Matthias Seitz
211c7e3401 test(net): disable discv4 discovery in tests by default (#1311) 2023-02-13 14:22:10 +01:00