app

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: GPL-3.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BitXHub

type BitXHub struct {
	Ledger        *ledger.Ledger
	BlockExecutor executor.Executor
	ViewExecutor  executor.Executor
	Router        router.Router
	Order         agency.Order
	PeerMgr       peermgr.PeerManager

	Monitor       *profile.Monitor
	Pprof         *profile.Pprof
	LoggerWrapper *loggers.LoggerWrapper
	Gateway       *gateway.Gateway
	Grpc          *grpc.ChainBrokerService
	Jsonrpc       *jsonrpc.ChainBrokerService

	Ctx    context.Context
	Cancel context.CancelFunc
	// contains filtered or unexported fields
}

func GenerateBitXHubWithoutOrder added in v1.4.0

func GenerateBitXHubWithoutOrder(rep *repo.Repo) (*BitXHub, error)

func NewBitXHub

func NewBitXHub(rep *repo.Repo, orderPath string) (*BitXHub, error)

func (*BitXHub) GetPrivKey added in v1.0.1

func (bxh *BitXHub) GetPrivKey() *repo.Key

func (*BitXHub) ReConfig added in v1.6.3

func (bxh *BitXHub) ReConfig(repo *repo.Repo)

func (*BitXHub) Start

func (bxh *BitXHub) Start() error

func (*BitXHub) Stop

func (bxh *BitXHub) Stop() error

Jump to

Keyboard shortcuts

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