|
@ -10,22 +10,17 @@ import ( |
|
|
|
|
|
|
|
|
// Reserved event types
|
|
|
// Reserved event types
|
|
|
const ( |
|
|
const ( |
|
|
EventBond = "Bond" |
|
|
|
|
|
EventCompleteProposal = "CompleteProposal" |
|
|
EventCompleteProposal = "CompleteProposal" |
|
|
EventDupeout = "Dupeout" |
|
|
|
|
|
EventFork = "Fork" |
|
|
|
|
|
EventLock = "Lock" |
|
|
EventLock = "Lock" |
|
|
EventNewBlock = "NewBlock" |
|
|
EventNewBlock = "NewBlock" |
|
|
EventNewBlockHeader = "NewBlockHeader" |
|
|
EventNewBlockHeader = "NewBlockHeader" |
|
|
EventNewRound = "NewRound" |
|
|
EventNewRound = "NewRound" |
|
|
EventNewRoundStep = "NewRoundStep" |
|
|
EventNewRoundStep = "NewRoundStep" |
|
|
EventPolka = "Polka" |
|
|
EventPolka = "Polka" |
|
|
EventRebond = "Rebond" |
|
|
|
|
|
EventRelock = "Relock" |
|
|
EventRelock = "Relock" |
|
|
EventTimeoutPropose = "TimeoutPropose" |
|
|
EventTimeoutPropose = "TimeoutPropose" |
|
|
EventTimeoutWait = "TimeoutWait" |
|
|
EventTimeoutWait = "TimeoutWait" |
|
|
EventTx = "Tx" |
|
|
EventTx = "Tx" |
|
|
EventUnbond = "Unbond" |
|
|
|
|
|
EventUnlock = "Unlock" |
|
|
EventUnlock = "Unlock" |
|
|
EventVote = "Vote" |
|
|
EventVote = "Vote" |
|
|
EventProposalHeartbeat = "ProposalHeartbeat" |
|
|
EventProposalHeartbeat = "ProposalHeartbeat" |
|
@ -113,11 +108,6 @@ const ( |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
var ( |
|
|
var ( |
|
|
EventQueryBond = QueryForEvent(EventBond) |
|
|
|
|
|
EventQueryUnbond = QueryForEvent(EventUnbond) |
|
|
|
|
|
EventQueryRebond = QueryForEvent(EventRebond) |
|
|
|
|
|
EventQueryDupeout = QueryForEvent(EventDupeout) |
|
|
|
|
|
EventQueryFork = QueryForEvent(EventFork) |
|
|
|
|
|
EventQueryNewBlock = QueryForEvent(EventNewBlock) |
|
|
EventQueryNewBlock = QueryForEvent(EventNewBlock) |
|
|
EventQueryNewBlockHeader = QueryForEvent(EventNewBlockHeader) |
|
|
EventQueryNewBlockHeader = QueryForEvent(EventNewBlockHeader) |
|
|
EventQueryNewRound = QueryForEvent(EventNewRound) |
|
|
EventQueryNewRound = QueryForEvent(EventNewRound) |
|
|