Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDevNode ¶
NewDevNode returns node with clieque engine and prefunded accounts.
func StartWithMiner ¶
StartWithMiner starts node with eth service and a miner.
Types ¶
type DevNodeSuite ¶
type DevNodeSuite struct { suite.Suite Remote *rpc.Client Eth *ethclient.Client Local *statusrpc.Client DevAccount *ecdsa.PrivateKey DevAccountAddress common.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.
Click to show internal directories.
Click to hide internal directories.