This commit is contained in:
Łukasz Magiera 2020-10-18 20:10:39 +02:00
parent 1a10f95973
commit 268d29222a

View File

@ -1,6 +1,7 @@
# Groups # Groups
* [](#) * [](#)
* [Closing](#Closing) * [Closing](#Closing)
* [Session](#Session)
* [Shutdown](#Shutdown) * [Shutdown](#Shutdown)
* [Version](#Version) * [Version](#Version)
* [Auth](#Auth) * [Auth](#Auth)
@ -154,6 +155,7 @@
* [StateMinerPreCommitDepositForPower](#StateMinerPreCommitDepositForPower) * [StateMinerPreCommitDepositForPower](#StateMinerPreCommitDepositForPower)
* [StateMinerProvingDeadline](#StateMinerProvingDeadline) * [StateMinerProvingDeadline](#StateMinerProvingDeadline)
* [StateMinerRecoveries](#StateMinerRecoveries) * [StateMinerRecoveries](#StateMinerRecoveries)
* [StateMinerSectorAllocated](#StateMinerSectorAllocated)
* [StateMinerSectorCount](#StateMinerSectorCount) * [StateMinerSectorCount](#StateMinerSectorCount)
* [StateMinerSectors](#StateMinerSectors) * [StateMinerSectors](#StateMinerSectors)
* [StateNetworkName](#StateNetworkName) * [StateNetworkName](#StateNetworkName)
@ -207,6 +209,15 @@ Inputs: `null`
Response: `{}` Response: `{}`
### Session
Perms: read
Inputs: `null`
Response: `"07070707-0707-0707-0707-070707070707"`
### Shutdown ### Shutdown
@ -3918,6 +3929,30 @@ Response:
] ]
``` ```
### StateMinerSectorAllocated
StateMinerSectorAllocated checks if a sector is allocated
Perms: read
Inputs:
```json
[
"f01234",
9,
[
{
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
},
{
"/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve"
}
]
]
```
Response: `true`
### StateMinerSectorCount ### StateMinerSectorCount
StateMinerSectorCount returns the number of sectors in a miner's sector set and proving set StateMinerSectorCount returns the number of sectors in a miner's sector set and proving set