46 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
26b35b7f8e feat: Add ETA to lotus sync wait (#11211) 2023-09-15 10:29:27 -07:00
Phi
18ae6bd18b Unify IsSyncDone
Unify IsSyncDone in cli/sync.go and cli/wallet.go
2023-08-09 17:13:25 +02:00
05cdeb80c3 chore: remove redundant import prefixes 2022-06-15 12:06:22 +02:00
e65fae28de chore: fix imports 2022-06-14 17:00:51 +02:00
05c8635749 test: sync check-bad cli command 2022-02-11 18:08:36 +01:00
ec0607900d test: sync state cli command 2022-02-11 17:45:19 +01:00
1b32d7f52f cli: fix build with v1 api changes 2021-04-03 12:55:29 +02:00
89c45fe7ef chore: export sync cli commands 2021-03-23 16:23:22 -07:00
d6e2c80608 if noone is working pick the last worker in sync wait 2020-10-30 19:45:59 +02:00
5dcf339840 fix sync wait cli 2020-10-30 19:28:32 +02:00
ad905fc310 Expose WorkerID
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-28 20:22:07 +01:00
ab4f051b83 sync wait --watch 2020-10-14 18:17:18 +02:00
32d95fc97a docsgen, gofmt 2020-10-10 20:46:06 +02:00
18e58467f8 sync unmark-bad --all 2020-10-10 10:26:42 +02:00
0223582d41 sync wait: Handle processed message offset 2020-10-08 23:14:12 +02:00
15eddf0c96 Make sync wait nicer 2020-09-24 13:39:49 +02:00
6b40e1e30d sync wait add heightDiff maybe useful! 2020-09-19 14:04:48 +08:00
22fdb9594d Add CLI to checkpoint tipsets 2020-09-09 14:34:05 -04:00
93a0052219 Add a SyncUnmarkBad CLI 2020-09-09 14:34:05 -04:00
44f4372ca3 Add StageFetchingMessages to sync status
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-09-08 20:42:20 +02:00
39755a294a Update to specs v0.9.6 2020-09-07 15:48:41 -04:00
860a6a231d 3388: Added target height to sync wait 2020-09-02 19:48:24 -04:00
13de81b3b2 introduce the ability to mock time. 2020-07-10 15:51:45 +01:00
4f9c907248 rename build.{BlockDelay=>BlockDelaySecs}.
Since this global is not typed as a time.Duration,
rather as an int, it makes sense to clarify the unit.
2020-06-30 14:26:49 +01:00
0fddf3e114 make system constants configurable as vars.
This configurability is unlocked through the `testground`
build tag, which Project Oni will uses.

Changes in the usage places of these relaxed constants
were required due to the fact that Golang constants are
untyped, but vars aren't.

Read https://blog.golang.org/constants for more info.
2020-06-30 14:18:26 +01:00
29dbc26dbd Update cli
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-04 01:01:41 +02:00
3cab8bd5d1 gofmt 2020-03-06 20:01:28 +01:00
e9afba3490 Add ArgsUsages to the CLI where missing
- This commit also standardises some notation
2020-03-04 16:58:46 -08:00
d787aa5007 Merge branch 'testnet/3' into feat/specs-actors 2020-02-24 18:32:02 +01:00
243b295559 expose bad block cache reasons through api/cli 2020-02-11 23:44:55 -08:00
13435aebdc Spec Actors integration 2020-02-08 03:18:32 +01: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
6467a982bc storageminer: Wait for sync 2019-12-04 01:25:18 +01:00
37792b149f sync: fix some issues 2019-11-20 20:49:29 +01:00
35659af84d Merge pull request #626 from filecoin-project/feat/chain-sync-manager
Implement chain sync manager
2019-11-19 22:35:19 +01:00
1cd584d81b Update cli/sync.go 2019-11-19 09:24:17 -06:00
86221f3569 sync wait waits until head is recent enough 2019-11-16 14:34:05 -08:00
0af9692072 use ctx.Done() to exit 2019-11-16 14:11:00 +08:00
251ff41134 plumb through new sync status logic 2019-11-15 17:05:16 -08:00
4f977d21ef add sync wait cmd ctrl+c exit 2019-11-15 16:54:32 +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
75680ae502 Quick miner deploy util 2019-10-15 02:54:00 +02:00
697bed27a6 fix websocket closing 2019-10-04 10:06:05 -06:00
af18cbac53 Add a command to inspect sync state progress 2019-09-30 15:06:47 -06:00