Documentation ¶
Index ¶
- func CreateTestGrpcConn(t *testing.T, m *mock.MockSentry) (context.Context, *grpc.ClientConn)
- func CreateTestSentry(t *testing.T) (*mock.MockSentry, *core.ChainPack, []*core.ChainPack)
- func CreateTestSentryForTraces(t *testing.T) *mock.MockSentry
- func CreateTestSentryForTracesCollision(t *testing.T) *mock.MockSentry
- type IsMiningMock
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTestGrpcConn ¶
func CreateTestGrpcConn(t *testing.T, m *mock.MockSentry) (context.Context, *grpc.ClientConn)
func CreateTestSentry ¶
func CreateTestSentryForTraces ¶
func CreateTestSentryForTraces(t *testing.T) *mock.MockSentry
func CreateTestSentryForTracesCollision ¶
func CreateTestSentryForTracesCollision(t *testing.T) *mock.MockSentry
Types ¶
type IsMiningMock ¶
type IsMiningMock struct{}
func (*IsMiningMock) IsMining ¶
func (*IsMiningMock) IsMining() bool
Click to show internal directories.
Click to hide internal directories.