From db977a2f9187ce48cb48517d88d1ada7a6be10e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Wed, 13 Jan 2021 22:19:42 +0100 Subject: [PATCH] docsgen --- documentation/en/api-methods-miner.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/documentation/en/api-methods-miner.md b/documentation/en/api-methods-miner.md index 0a6f8ec27..060e4066a 100644 --- a/documentation/en/api-methods-miner.md +++ b/documentation/en/api-methods-miner.md @@ -99,6 +99,7 @@ * [SectorSetExpectedSealDuration](#SectorSetExpectedSealDuration) * [SectorSetSealDelay](#SectorSetSealDelay) * [SectorStartSealing](#SectorStartSealing) + * [SectorTerminate](#SectorTerminate) * [Sectors](#Sectors) * [SectorsList](#SectorsList) * [SectorsListInStates](#SectorsListInStates) @@ -1475,7 +1476,9 @@ Inputs: Response: `{}` ### SectorRemove -There are not yet any comments for this method. +SectorRemove removes the sector from storage. It doesn't terminate it on-chain, which can +be done with SectorTerminate. Removing and not terminating live sectors will cause additional penalties. + Perms: admin @@ -1535,6 +1538,21 @@ Inputs: Response: `{}` +### SectorTerminate +SectorTerminate terminates the sector on-chain, then automatically removes it from storage + + +Perms: admin + +Inputs: +```json +[ + 9 +] +``` + +Response: `{}` + ## Sectors