Documentation ¶
Index ¶
Constants ¶
View Source
const ( TopicBlock = uint16(0x0101) TopicTransaction = uint16(0x0201) TopicAccountChange = uint16(0x0301) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event []byte
func CreateAccountChangeEvent ¶ added in v0.15.0
CreateAccountChangeEvent creates an event when the new account is created. The account event structure is like : <topic_id><account_address><height><sequence_number>.
func CreateBlockEvent ¶
CreateBlockEvent creates an event when the new block is committed. The block event structure is like : <topic_id><block_hash><height><sequence_number>.
Click to show internal directories.
Click to hide internal directories.