Documentation ¶
Index ¶
Constants ¶
View Source
const ( BroadcastMsg = "broadcast" RandsendMsg = "randsend" )
Internal msg keys
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockInfo ¶
type BlockInfo struct { Chain uint64 Index uint64 HashPower uint64 Key []byte User []byte PreKey []byte }
BlockInfo response block info
type ChainEvent ¶
ChainEvent ChainEvent
type NewTransaction ¶
NewTransaction internal message
type RawData ¶ added in v0.3.9
type RawData struct { BaseMsg Chain uint64 Key []byte Broadcast bool IsTrans bool LockNum uint64 Data []byte }
RawData raw data
type ReqBlockInfo ¶
ReqBlockInfo request block info
type ReqTransaction ¶
ReqTransaction request transaction data
type TransactionData ¶
TransactionData response transaction data
Click to show internal directories.
Click to hide internal directories.