Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CliqueServerImpl ¶
type CliqueServerImpl struct { proto_cons.UnimplementedConsensusEngineServer proto_cons.UnimplementedTestServer // contains filtered or unexported fields }
func NewCliqueServer ¶
func NewCliqueServer(_ context.Context) *CliqueServerImpl
func (*CliqueServerImpl) ChainSpec ¶
func (cs *CliqueServerImpl) ChainSpec(context.Context, *emptypb.Empty) (*proto_cons.ChainSpecMessage, error)
func (*CliqueServerImpl) StartTestCase ¶
func (cs *CliqueServerImpl) StartTestCase(_ context.Context, testCase *proto_cons.StartTestCaseMessage) (*emptypb.Empty, error)
StartTestCase implements Test interface from consensus.proto When called, it signals to the consensus engine to reset its state and re-initialise using configuration received from the test driver
Click to show internal directories.
Click to hide internal directories.