host

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: AGPL-3.0 Imports: 23 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

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

Types

type ServicesRegistry

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

func NewServicesRegistry

func NewServicesRegistry(logger log.Logger) *ServicesRegistry

func (*ServicesRegistry) All

func (*ServicesRegistry) CrossChainMachine added in v0.25.0

func (s *ServicesRegistry) CrossChainMachine() l1.CrossChainStateMachine

func (*ServicesRegistry) Enclaves

func (*ServicesRegistry) L1Publisher

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

func (*ServicesRegistry) L1Repo

func (*ServicesRegistry) L2Repo

func (*ServicesRegistry) LogSubs

func (*ServicesRegistry) P2P

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

func (*ServicesRegistry) RegisterService

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