app

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2022 License: GPL-3.0 Imports: 47 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         order.Order
	PeerMgr       peermgr.PeerManager
	TssMgr        tss.Tss

	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