nodeconn

package
v0.4.0-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

nodeconn package provides an interface to the L1 node (Hornet). This component is responsible for:

  • Protocol details.
  • Block reattachments and promotions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, log *logger.Logger, nodeBridge *nodebridge.NodeBridge, nodeConnectionMetrics nodeconnmetrics.NodeConnectionMetrics) (chain.NodeConnection, error)

Types

type LedgerUpdateHandler

type LedgerUpdateHandler func(*nodebridge.LedgerUpdate)

Jump to

Keyboard shortcuts

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