MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / init

Function init

types/events.go:48–59  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46}
47
48func init() {
49 tmjson.RegisterType(EventDataNewBlock{}, "tendermint/event/NewBlock")
50 tmjson.RegisterType(EventDataNewBlockHeader{}, "tendermint/event/NewBlockHeader")
51 tmjson.RegisterType(EventDataNewEvidence{}, "tendermint/event/NewEvidence")
52 tmjson.RegisterType(EventDataTx{}, "tendermint/event/Tx")
53 tmjson.RegisterType(EventDataRoundState{}, "tendermint/event/RoundState")
54 tmjson.RegisterType(EventDataNewRound{}, "tendermint/event/NewRound")
55 tmjson.RegisterType(EventDataCompleteProposal{}, "tendermint/event/CompleteProposal")
56 tmjson.RegisterType(EventDataVote{}, "tendermint/event/Vote")
57 tmjson.RegisterType(EventDataValidatorSetUpdates{}, "tendermint/event/ValidatorSetUpdates")
58 tmjson.RegisterType(EventDataString(""), "tendermint/event/ProposalString")
59}
60
61// Most event messages are basic types (a block, a transaction)
62// but some (an input to a call tx or a receive) are more exotic

Callers

nothing calls this directly

Calls 1

EventDataStringTypeAlias · 0.85

Tested by

no test coverage detected