dpos

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2019 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActiveTrx

type ActiveTrx struct {
	// contains filtered or unexported fields
}

type BlockReceivedVotes

type BlockReceivedVotes struct {
	// contains filtered or unexported fields
}

type DPoS

type DPoS struct {
	// contains filtered or unexported fields
}

func NewDPoS

func NewDPoS(cfg *config.Config, accounts []*types.Account, eb event.EventBus) *DPoS

func (*DPoS) Init

func (dps *DPoS) Init()

func (*DPoS) ProcessMsg

func (dps *DPoS) ProcessMsg(bs *consensus.BlockSource)

func (*DPoS) Start

func (dps *DPoS) Start()

func (*DPoS) Stop

func (dps *DPoS) Stop()

type Election

type Election struct {
	// contains filtered or unexported fields
}

type PerformanceTime

type PerformanceTime struct {
	// contains filtered or unexported fields
}

type Processor

type Processor struct {
	// contains filtered or unexported fields
}

type Votes

type Votes struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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