dpos

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2019 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDposNetwork

func NewDposNetwork(pid peer.PID, listener manager.NetworkEventListener, dposAccount account.DposAccount) (*dposNetwork, error)

Types

type Arbitrator

func NewArbitrator

func NewArbitrator(password []byte, arConfig ArbitratorConfig) (Arbitrator, error)

type ArbitratorConfig

type ArbitratorConfig struct {
	EnableEventLog    bool
	EnableEventRecord bool
	Store             interfaces.IDposStore
}

type PeerItem

type PeerItem struct {
	Address     p2p.PeerAddr
	NeedConnect bool
	Peer        *peer.Peer
	Sequence    uint32
}

Directories

Path Synopsis
p2p
msg

Jump to

Keyboard shortcuts

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