Documentation ¶
Index ¶
Constants ¶
View Source
const ConfirmChainParallelNum = 10
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockReceivedVotes ¶
type BlockReceivedVotes struct {
// contains filtered or unexported fields
}
type DPoS ¶
type DPoS struct {
// contains filtered or unexported fields
}
func (*DPoS) CleanSyncCache ¶ added in v1.3.0
func (dps *DPoS) CleanSyncCache()
func (*DPoS) ProcessMsg ¶
func (dps *DPoS) ProcessMsg(bs *consensus.BlockSource)
type EvictedFunc ¶ added in v1.3.1
type EvictedFunc func(interface{}, interface{})
type RepAckStatistics ¶ added in v1.3.0
type RepOnlinePeriod ¶ added in v1.3.0
type RepOnlinePeriod struct { Period uint64 `json:"period"` Statistic *sync.Map `json:"-"` Stat map[types.Address]*RepAckStatistics `json:"statistics"` BlockCount uint64 `json:"blockCount"` }
func (*RepOnlinePeriod) String ¶ added in v1.3.0
func (op *RepOnlinePeriod) String() string
Click to show internal directories.
Click to hide internal directories.