enode

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ModuleName = "ENODE"
	Log        = logrus.WithField(
		"module", ModuleName,
	)
)

Functions

This section is empty.

Types

type LocalNode

type LocalNode struct {
	LocalNode enode.LocalNode
	// contains filtered or unexported fields
}

func NewLocalNode

func NewLocalNode(ctx context.Context, infObj *info.Eth2InfoData, pk *ecdsa.PrivateKey) *LocalNode

NewLocalNode: This method will create a LocalNode object using the given arguments. @param ctx the context, usually inherited from the base. @param info_obj the InfoData object where to get the configuration data from the user. @param stdOpts the logging options object. @return the LocalNode object.

func (*LocalNode) AddEntries

func (l *LocalNode) AddEntries()

AddEntries: This method will add specific Eth2 Key Value entries to the created Node. TODO: confirm which data to add and structure appropiately

Jump to

Keyboard shortcuts

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