Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ResendRoundBitNum defines the number of bit of resend round in the message id // resend round num is stored in the last ResendRoundBitNum bits of the message id ResendRoundBitNum = 3 )
Variables ¶
View Source
var Mask = ^uint32(0) - (1<<ResendRoundBitNum - 1)
Mask is a uint32 number whose last ResendRoundBitNum bit is 0 and the rest is 1
Functions ¶
func NewAppBlockChain ¶
func NewAppBlockChain(id shard.Index, blockChain iblockchain.BlockChain, dPool idepositpool.DepositPool, pubSubMgr *message.PubSubManager) iabci.AppBlockChain
NewAppBlockChain creates a new instance of AppBlockChain.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.