node

package
v0.0.0-...-9dda5dc Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

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

func NewFinalityNode

func NewFinalityNode(ctx context.Context, db *store.Storage, privKey *ecdsa.PrivateKey, keyPairs *sign.KeyPair, cfg *config.Config, logger log.Logger, shutdown context.CancelCauseFunc) (*Node, error)

func (*Node) ProcessMessage

func (n *Node) ProcessMessage()

func (*Node) SignMessage

func (n *Node) SignMessage(requestBody types.SignMsgRequest) (*sign.Signature, error)

func (*Node) Start

func (n *Node) Start(ctx context.Context) error

func (*Node) Stop

func (n *Node) Stop(ctx context.Context) error

func (*Node) Stopped

func (n *Node) Stopped() bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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