generator

package
v0.0.0-...-7d0b5db Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package generator provides means to generate packet tests for Ethereum node.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDiscv4

func InitDiscv4() *discv4.UDPv4

func InitDiscv5

func InitDiscv5() *discv5.UDPv5

func Initeth

func Initeth(dest *enode.Node, dir string) (*eth.Suite, error)

func Initsnap

func Initsnap(dest *enode.Node, dir string) (*eth.Suite, error)

func ReplaceNodeIP

func ReplaceNodeIP(n *enode.Node, newIP net.IP) *enode.Node

func RunGenerate

func RunGenerate(protocol, targetDir, chainDir, ptype string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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