Commit Graph

478 Commits

Author SHA1 Message Date
15d79cedad chore(deps): upgrade secp256k1+enr (#1715) 2023-03-15 11:15:55 +01:00
237fd5ce6e feat: BlockchainTree (#1212)
Co-authored-by: Dragan Rakita <draganrakita@192.168.1.4>
2023-03-14 11:17:14 -07:00
e5a0fc6550 chore(clippy): make clippy happy (#1710) 2023-03-11 16:27:24 +02:00
ad5f9aa78c refactor: extract transaction consensus errors to standalone type (#1697) 2023-03-10 04:43:04 -08:00
dd1a0b495f chore: remove redundant handshake traces (#1694) 2023-03-10 04:09:34 +01:00
1e4ab0e1ac chore: replace lru with schnellru (#1688) 2023-03-09 16:20:40 +01: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
edeedd519e fix(net): enforce soft limit when propagating tx hashes (#1660) 2023-03-07 11:56:05 -05:00
7b71af2409 test: add empty decode buffer check (#1628) 2023-03-04 13:51:35 -07:00
cef4c425fd perf: allocate ping buffer and move to standalone function (#1629) 2023-03-04 01:26:45 +01:00
1bb25ae8b4 style: take ownership of header arg (#1626) 2023-03-03 22:21:38 +01:00
9bdbbb2b9e fix(disc): trigger bootstrap if table empty (#1621) 2023-03-03 15:07:19 -05:00
2d1bcd17d8 perf: improve initial pooled tx exchange (#1615) 2023-03-03 14:50:49 -05:00
fbfec26a36 Support soft limit in NewPooledTransactions (#1577) 2023-03-03 09:36:01 +01:00
71bc1451af fix: use correct type for NewPooledTransactionHashes68 (#1548) 2023-02-28 21:20:02 +01:00
305e992eed docs: rm global ip docs (#1555) 2023-02-25 10:22:31 +01:00
1b52fe90c8 feat: do not ban non-global IPs (#1549) 2023-02-24 18:21:02 -05:00
dc57fbad07 fix(disc): allow concurrent lookups (#1539) 2023-02-24 13:21:05 +01:00
f21f9c5b4e chore(download): response validation order (#1537) 2023-02-24 09:35:03 +01:00
b14ee4e925 perf(download): parallel header sealing (#1536) 2023-02-24 09:13:18 +01:00
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