22 lines
382 B
Go
22 lines
382 B
Go
package context
|
|
|
|
// ExecMode defines the execution mode which can be set on a Context.
|
|
type ExecMode uint8
|
|
|
|
// All possible execution modes.
|
|
const (
|
|
ExecModeCheck ExecMode = iota
|
|
ExecModeReCheck
|
|
ExecModeSimulate
|
|
ExecModePrepareProposal
|
|
ExecModeProcessProposal
|
|
ExecModeVoteExtension
|
|
ExecModeVerifyVoteExtension
|
|
ExecModeFinalize
|
|
)
|
|
|
|
const (
|
|
ExecModeKey = iota
|
|
CometInfoKey
|
|
)
|