Add API and CLI to unseal sector (#10626)

This commit is contained in:
Shrenuj Bansal
2023-04-17 12:12:15 -04:00
committed by GitHub
parent 3f74840b67
commit 0befed7200
10 changed files with 97 additions and 0 deletions
+16
View File
@@ -159,6 +159,7 @@
* [SectorTerminate](#SectorTerminate)
* [SectorTerminateFlush](#SectorTerminateFlush)
* [SectorTerminatePending](#SectorTerminatePending)
* [SectorUnseal](#SectorUnseal)
* [Sectors](#Sectors)
* [SectorsList](#SectorsList)
* [SectorsListInStates](#SectorsListInStates)
@@ -3415,6 +3416,21 @@ Response:
]
```
### SectorUnseal
SectorUnseal unseals the provided sector
Perms: admin
Inputs:
```json
[
9
]
```
Response: `{}`
## Sectors
+14
View File
@@ -1671,6 +1671,7 @@ COMMANDS:
batching manage batch sector operations
match-pending-pieces force a refreshed match of pending pieces to open sectors without manually waiting for more deals
compact-partitions removes dead sectors from partitions and reduces the number of partitions used if possible
unseal unseal a sector
help, h Shows a list of commands or help for one command
OPTIONS:
@@ -2086,6 +2087,19 @@ OPTIONS:
```
### lotus-miner sectors unseal
```
NAME:
lotus-miner sectors unseal - unseal a sector
USAGE:
lotus-miner sectors unseal [command options] [sector number]
OPTIONS:
--help, -h show help (default: false)
```
## lotus-miner proving
```
NAME: