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)
Click to show internal directories.
Click to hide internal directories.