github.com/elastos/Elastos.ELA.SideChain.ETH@v0.2.2/dpos/event.go (about)

     1  // Copyright (c) 2017-2019 The Elastos Foundation
     2  // Use of this source code is governed by an MIT
     3  // license that can be found in the LICENSE file.
     4  //
     5  
     6  package dpos
     7  
     8  import "github.com/elastos/Elastos.ELA/events"
     9  
    10  // Constants for the type of a notification message.
    11  const (
    12  	ETNewPeer          events.EventType = 1000
    13  	ETDonePeer         events.EventType = 1001
    14  	ETStopRoutes       events.EventType = 1002
    15  	ETElaMsg           events.EventType = 1003
    16  	ETAnnounceAddr     events.EventType = 1004
    17  	ETNextProducers    events.EventType = 1005
    18  	ETOnSPVHeight      events.EventType = 1006
    19  	ETSmallCroTx       events.EventType = 1007
    20  	ETFailedWithdrawTx events.EventType = 1008
    21  	ETUpdateProducers  events.EventType = 1009
    22  	ETOnDutyEvent      events.EventType = 1010
    23  )