Commit Graph

108 Commits

Author SHA1 Message Date
5e0508b973 fix: shrink queued bodies and headers when drained or split (#3191) 2023-06-15 22:35:21 +00:00
67593ca749 feat(metrics): split DownloaderMetrics into body and headers downloaders (#3171) 2023-06-15 18:36:51 +00:00
ea2fcee995 chore: use workspace dependencies (#3132) 2023-06-13 22:46:26 +00:00
e0cdb0bc0b fix(stages): save full block range to index history checkpoint (#3107) 2023-06-12 15:14:39 +00:00
1ff26dd2fd feat(stages): unwind on detached local head (#3066) 2023-06-09 17:35:46 +00:00
171166e84a chore: add msrv to manifests, add and use workspace.package (#3006) 2023-06-06 03:45:44 +00:00
d2c68edf23 feat: rework logs (#2988) 2023-06-05 17:43:14 +00:00
10b577096b chore(metrics): restructure crates (#2850) 2023-05-26 12:21:48 +00:00
a441c136e3 fix(download): headers head attachment (#2845) 2023-05-25 19:17:08 +00:00
ba4776a0ca feat: track total size of buffered blocks (#2838) 2023-05-25 16:42:11 +00:00
149cac060a feat: add headers stage config options (#2724)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-05-18 13:49:58 +02:00
352b55dc05 chore: rename Error to DatabaseError (#2718) 2023-05-17 15:21:46 +02:00
9b79218c18 fix(p2p): network sync state (#2699) 2023-05-16 22:24:40 +02:00
fa2b9b685e fix(dep): tokio-util is no longer optional (#2697) 2023-05-16 15:28:39 +02:00
ae2b0954c6 perf: do not compile traces in release mode (#2652) 2023-05-15 17:06:10 -07:00
566f5813c9 fix: use bounded channel for headers download task (#2687) 2023-05-15 14:40:04 -07:00
2fa9cd066e fix: use bounded sender for bodies responses (#2684) 2023-05-15 16:35:37 -04:00
787e600836 perf: send followup request with high priority (#2659) 2023-05-14 18:35:20 +02:00
9fe84bfd96 fix: dont upscale concurrent request for lower peer count (#2661) 2023-05-13 21:02:51 -04:00
3402f19c7e fix: should be kilobytes (#2663) 2023-05-13 20:37:07 +02:00
99e6ee7a86 perf: restrict bodies downloader by number of blocks (#2656) 2023-05-13 13:18:01 -04:00
e34cdc4e0d feat: extend engine syncing with single block downloads (#2626) 2023-05-12 15:02:45 +02:00
3dd27782e1 refactor: give Pipeline a database (#2558) 2023-05-04 12:27:53 -07:00
10b97b29af chore: downgrade error and warn traces to debug (#2541) 2023-05-03 15:53:05 +02:00
159a856373 fix: sync to max block (#2527) 2023-05-02 20:51:53 +02:00
d146bb86f6 chore(clippy): make clippy happy (#2475) 2023-04-30 11:40:43 +02:00
837555e296 chore(consensus): Clear up the naming and intention behind checks (#2415)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-04-26 18:04:36 +02:00
b4d69e68dc perf: remove redundant ommers sealing (#2386) 2023-04-25 05:53:16 -07:00
68d8506d8e feat: block level indexing (#2275)
Co-authored-by: rakita <dragan0rakita@gmail.com>
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-04-20 15:03:48 -04:00
74d90de450 fix(download): body consecutive range (#2198) 2023-04-12 01:59:11 -07:00
47b9738ede chore: fix some typos (#2025) 2023-03-29 14:49:50 +02:00
7263c9a644 chore: use downloader and client traits where possible (#1992) 2023-03-27 19:45:17 +02:00
b59f7df72d fix(download): handle bodies range reset after unwind (#1942)
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-03-24 03:16:08 -07:00
b28c40223e chore: move block body to primitives (#1874) 2023-03-20 21:14:23 -07:00
075544e889 refactor: various cleanups (#1833)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2023-03-18 14:13:09 +01:00
1711d801af feat: continuous download (#1744) 2023-03-16 22:33:11 -04:00
e5a0fc6550 chore(clippy): make clippy happy (#1710) 2023-03-11 16:27:24 +02:00
1bb25ae8b4 style: take ownership of header arg (#1626) 2023-03-03 22:21:38 +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
f979c6c1fb chore: reexport bytes & bump version to 1.4 (#1395) 2023-02-16 10:33:28 -08:00
9b81b4f20d chore: Header::seal and Header::seal_slow distinction (#1409) 2023-02-16 08:55:58 -08:00
e97753c768 feat: withdrawals (#1322)
Co-authored-by: rakita <rakita@users.noreply.github.com>
2023-02-16 04:44:05 -08:00
03f74a53be fix: return correct file client tip (#1385) 2023-02-15 15:53:17 -08: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
6e89af9e8e fix(net): handle closed channel in Spawned downloader (#1346) 2023-02-14 18:21:14 +01:00
b82eac4b00 Unify builder argument order (#1276) 2023-02-10 16:58:05 -05:00
00a49f5ee7 chore(db): remove block numhash key (#1242) 2023-02-10 13:43:00 -08:00