state.go 555 Bytes
Newer Older
1
2
package sealing_state

3
4
//go:generate stringer -type=State

5
6
7
8
// State communicates the state of the sector with respect to sealing.
type State int

const (
9
10
11
12
13
14
15
	Unknown         State = iota
	Pending               // sector is still accepting user data
	Failed                // sealing failed
	Sealing               // sector is currently being sealed
	Sealed                // sector has been sealed successfully
	Paused                // sector sealing has been paused and can be resumed
	ReadyForSealing       // staged sector is full and is ready to seal
16
)