35 Commits

Author SHA1 Message Date
1bc8a8b32c chore: remove (deprecated) deps on build/ proxy-constants
This is a large diff, yet should have exactly zero functional changes

Ideally as a result of this some parts of the depchain will become lighter,
with downstream reaping the same benefits as the team that initiated this split.

P.S. work was done while forming better intuition of current dependency graph
2024-07-22 17:36:12 +04:00
5b5dd525f5 skip migration cache correctly 2023-11-09 14:14:46 -05:00
802a9f0a78 feat: refactor slashfilter to return bool indicating fault 2023-07-08 11:14:41 -04:00
mx
2fca475dd4 fix: supply extra params for ReportConsensusFaultParams 2023-06-09 10:15:14 +08:00
139f8773de fix some bugs and address some comments 2022-10-16 22:52:22 -04:00
05cdeb80c3 chore: remove redundant import prefixes 2022-06-15 12:06:22 +02:00
dd327f0b22 plumb more contexts 2021-12-17 11:42:09 +02:00
dfb65ed89f Plumb contexts through 2021-12-11 17:04:00 -05:00
95b128b7bc chain: Cleanup consensus logic 2021-09-02 18:09:37 +02:00
69da6a2a29 feat: allow checkpointing to forks
Previously, `lotus sync checkpoint` would only checkpoint on the current
chain. Now, it can switch to a new fork.
2021-04-28 13:54:26 -07:00
ad905fc310 Expose WorkerID
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-28 20:22:07 +01:00
18e58467f8 sync unmark-bad --all 2020-10-10 10:26:42 +02:00
c45c8f34a1 Parametrise whether sync validators should use cache 2020-09-30 01:39:06 -04:00
a4e7117429 Add lotus shed util to validate a tipset 2020-09-30 01:29:04 -04:00
15eddf0c96 Make sync wait nicer 2020-09-24 13:39:49 +02:00
8807c75c51 Fix warn message 2020-09-09 18:17:05 -04:00
5c852e26c2 Add a SyncUnmarkBad API 2020-09-09 14:34:05 -04:00
35aa78dad9 Allow marking a certain tipset as checkpointed 2020-09-09 14:34:00 -04:00
5733c71c50 Lint everything
We were ignoring quite a few error cases, and had one case where we weren't
actually updating state where we wanted to. Unfortunately, if the linter doesn't
pass, nobody has any reason to actually check lint failures in CI.

There are three remaining XXXs marked in the code for lint.
2020-08-20 20:46:36 -07:00
73b8868046 gofmt 2020-08-06 03:32:59 +02:00
f8b8ecc0c3 Consensus filter 2020-08-06 03:16:39 +02:00
13f2c21e1d Get network name from genesis 2020-04-01 01:15:49 +02:00
921f11db34 Rewrite chain export walker function to actually do the right thing 2020-03-20 17:18:57 -07:00
16096e2c71 some go vet fixes 2020-03-05 22:46:07 -08:00
37d5baf0b2 fix blocks topic 2020-03-03 21:03:35 -08:00
d6723935b9 fixup to match spec, move constants to common location 2020-03-03 15:48:25 -08:00
243b295559 expose bad block cache reasons through api/cli 2020-02-11 23:44:55 -08:00
897cf72933 Add command to mark given blocks as bad 2020-01-07 21:42:15 -08:00
c302051bc2 add duration tracking to sync status 2019-12-03 20:59:41 -08:00
d3b980ef58 api.SyncIncomingBlocks 2019-11-20 17:47:44 +01:00
251ff41134 plumb through new sync status logic 2019-11-15 17:05:16 -08:00
1bf713cb0a Cleanup imports after rename
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-18 13:47:41 +09:00
aa644fcbbb call sync directly during submitblock 2019-10-15 21:19:10 +09:00
7c26e3c35f WIP: ensure blocks make it into repo before pushing to pubsub 2019-10-14 23:21:37 +09:00
af18cbac53 Add a command to inspect sync state progress 2019-09-30 15:06:47 -06:00