appblockchain

package
v0.0.0-...-4f0ab6e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2021 License: MIT Imports: 38 Imported by: 2

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL