sealing: numassign: take on-chain allocated numbers into account
This commit is contained in:
@@ -191,6 +191,7 @@
|
||||
* [StateMarketParticipants](#StateMarketParticipants)
|
||||
* [StateMarketStorageDeal](#StateMarketStorageDeal)
|
||||
* [StateMinerActiveSectors](#StateMinerActiveSectors)
|
||||
* [StateMinerAllocated](#StateMinerAllocated)
|
||||
* [StateMinerAvailableBalance](#StateMinerAvailableBalance)
|
||||
* [StateMinerDeadlines](#StateMinerDeadlines)
|
||||
* [StateMinerFaults](#StateMinerFaults)
|
||||
@@ -6154,6 +6155,34 @@ Response:
|
||||
]
|
||||
```
|
||||
|
||||
### StateMinerAllocated
|
||||
StateMinerAllocated returns a bitfield containing all sector numbers marked as allocated in miner state
|
||||
|
||||
|
||||
Perms:
|
||||
|
||||
Inputs:
|
||||
```json
|
||||
[
|
||||
"f01234",
|
||||
[
|
||||
{
|
||||
"/": "bafy2bzacea3wsdh6y3a36tb3skempjoxqpuyompjbmfeyf34fi3uy6uue42v4"
|
||||
},
|
||||
{
|
||||
"/": "bafy2bzacebp3shtrn43k7g3unredz7fxn4gj533d3o43tqn2p2ipxxhrvchve"
|
||||
}
|
||||
]
|
||||
]
|
||||
```
|
||||
|
||||
Response:
|
||||
```json
|
||||
[
|
||||
0
|
||||
]
|
||||
```
|
||||
|
||||
### StateMinerAvailableBalance
|
||||
StateMinerAvailableBalance returns the portion of a miner's balance that can be withdrawn or spent
|
||||
|
||||
|
||||
Reference in New Issue
Block a user