host

package
v0.18.2 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: AGPL-3.0 Imports: 21 Imported by: 0

README

This package contains code related to the node's host component.

The entry point to the host component is the main function in host/main/.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHost added in v0.6.0

func NewHost(config *config.HostConfig, hostServices *ServicesRegistry, p2p hostcommon.P2PHostService, ethClient ethadapter.EthClient, l1Repo hostcommon.L1RepoService, enclaveClient common.Enclave, ethWallet wallet.Wallet, mgmtContractLib mgmtcontractlib.MgmtContractLib, logger gethlog.Logger, regMetrics gethmetrics.Registry) hostcommon.Host

Types

type ServicesRegistry added in v0.14.0

type ServicesRegistry struct {
	// contains filtered or unexported fields
}

func NewServicesRegistry added in v0.14.0

func NewServicesRegistry(logger log.Logger) *ServicesRegistry

func (*ServicesRegistry) All added in v0.14.0

func (*ServicesRegistry) Enclaves added in v0.14.0

func (*ServicesRegistry) L1Publisher added in v0.14.0

func (s *ServicesRegistry) L1Publisher() hostcommon.L1Publisher

func (*ServicesRegistry) L1Repo added in v0.14.0

func (*ServicesRegistry) L2Repo added in v0.14.0

func (*ServicesRegistry) LogSubs added in v0.14.0

func (*ServicesRegistry) P2P added in v0.14.0

func (s *ServicesRegistry) P2P() hostcommon.P2P

func (*ServicesRegistry) RegisterService added in v0.14.0

func (s *ServicesRegistry) RegisterService(name string, service hostcommon.Service)

Directories

Path Synopsis
rpc

Jump to

Keyboard shortcuts

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