nodeconn

package
v0.4.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: Apache-2.0, BSD-2-Clause 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