Basic CC Upgrade support

This commit is contained in:
Łukasz Magiera
2020-07-01 17:01:06 +02:00
parent 5b73b48dc8
commit 82e2cd4746
9 changed files with 157 additions and 11 deletions
+4
View File
@@ -189,6 +189,10 @@ func (sm *StorageMinerAPI) SectorRemove(ctx context.Context, id abi.SectorNumber
return sm.Miner.RemoveSector(ctx, id)
}
func (sm *StorageMinerAPI) SectorMarkForUpgrade(ctx context.Context, id abi.SectorNumber) error {
return sm.Miner.MarkForUpgrade(id)
}
func (sm *StorageMinerAPI) WorkerConnect(ctx context.Context, url string) error {
w, err := connectRemoteWorker(ctx, sm, url)
if err != nil {