server

package
v0.0.0-...-95b87ed Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 57 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main()

func NewServer

func NewServer(
	r *multichannel.Registrar,
	metricsProvider metrics.Provider,
	debug *localconfig.Debug,
	timeWindow time.Duration,
	mutualTLS bool,
	expirationCheckDisabled bool,
) ab.AtomicBroadcastServer

func ValidateBootstrapBlock

func ValidateBootstrapBlock(block *common.Block, bccsp bccsp.BCCSP) error

Types

type ChainReplicator

type ChainReplicator interface {
	ReplicateChains(lastConfigBlock *common.Block, chains []string) []string
}

type Factory

type Factory interface {
	GetOrCreate(chainID string) (blockledger.ReadWriter, error)

	ChannelIDs() []string

	Close()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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