consensus

package
v0.0.0-...-7ee7fde Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2020 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConsensusService

func NewConsensusService(consensusName string, cfg *params.Config) (ainterface.Consensus, error)

Create a new consensus service via pass config match consensus name

func NewRoundManager

func NewRoundManager(consensusName string, acc *crypto.Account) ainterface.IRoundManager

Create a new round manager under consensus name

Types

This section is empty.

Directories

Path Synopsis
prove of authority.
prove of authority.

Jump to

Keyboard shortcuts

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