github.com/sixexorg/magnetic-ring@v0.0.0-20191119090307-31705a21e419/consense/dpoa/comm/const.go (about)

     1  package comm
     2  
     3  const BroadCast  = "ALL"
     4  
     5  type ExcuteType uint8
     6  
     7  const (
     8  	MinExcuteType ExcuteType = iota
     9  	StartNewHeight
    10  	EarthProcess
    11  	MaxExcuteType
    12  )
    13  
    14  type BftActionType uint8
    15  
    16  const (
    17  	SealBlock BftActionType = iota
    18  	FastForward // for syncer catch up
    19  	ReBroadcast
    20  )
    21  
    22  const (
    23  	V_One   = 1
    24  	V_Two   = 2
    25  	V_Three = 3
    26  )