workers: Simple storage diagnostics

This commit is contained in:
Łukasz Magiera
2020-03-16 18:50:07 +01:00
parent 416a0d2722
commit 7e997e40f3
13 changed files with 209 additions and 46 deletions
+4
View File
@@ -108,6 +108,10 @@ type StorageMiner interface {
SectorsUpdate(context.Context, abi.SectorNumber, SectorState) error
StorageList(ctx context.Context) (map[stores.ID][]stores.Decl, error)
StorageInfo(context.Context, stores.ID) (stores.StorageInfo, error)
// WorkerConnect tells the node to connect to workers RPC
WorkerConnect(context.Context, string) error
stores.SectorIndex