devtests

package
v0.66.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DevNodeSuite

type DevNodeSuite struct {
	suite.Suite

	Remote            *rpc.Client
	Eth               *ethclient.Client
	Local             *statusrpc.Client
	DevAccount        *ecdsa.PrivateKey
	DevAccountAddress types.Address
	// contains filtered or unexported fields
}

DevNodeSuite provides convenient wrapper for starting node with clique backend for mining.

func (*DevNodeSuite) SetupTest

func (s *DevNodeSuite) SetupTest()

SetupTest creates clique node and status node with an rpc connection to a clique node.

func (*DevNodeSuite) TearDownTest

func (s *DevNodeSuite) TearDownTest()

TearDownTest stops status node and clique node.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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