Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
IsEnableBPV3Stats bool = false
)
Functions ¶
func GetShardHeightBPV3Stats ¶
func UpdateBPV3Stats ¶
func UpdateBPV3Stats(db incdb.Database, shardBlock *types.ShardBlock, subsetID int, totalCommittees []incognitokey.CommitteePublicKey) error
Types ¶
type DetailBlockInOneEpochStats ¶
type DetailBlockInOneEpochStats struct { Height uint64 Producer string ProducerID int Proposer string ProposerID int VotersID []int }
func NewDetailBlockInOneEpochStats ¶
func NewDetailBlockInOneEpochStats(height uint64) *DetailBlockInOneEpochStats
type NumberOfBlockInOneEpochStats ¶
func GetShardEpochBPV3Stats ¶
func NewBlockInOneEpochStats ¶
func NewBlockInOneEpochStats(epoch uint64) *NumberOfBlockInOneEpochStats
Click to show internal directories.
Click to hide internal directories.