Versions in this module Expand all Collapse all v1 v1.14.2 Aug 2, 2025 Changes in this version + type MockAppSender struct + func NewMockAppSender(ctrl *gomock.Controller) *MockAppSender + func (m *MockAppSender) EXPECT() *MockAppSenderMockRecorder + func (m *MockAppSender) SendAppError(ctx context.Context, nodeID ids.NodeID, requestID uint32, errorCode int32, ...) error + func (m *MockAppSender) SendAppGossip(ctx context.Context, msg []byte) error + func (m *MockAppSender) SendAppRequest(ctx context.Context, nodeIDs []ids.NodeID, requestID uint32, msg []byte) error + func (m *MockAppSender) SendAppResponse(ctx context.Context, nodeID ids.NodeID, requestID uint32, msg []byte) error + func (m *MockAppSender) SendCrossChainAppRequest(ctx context.Context, chainID ids.ID, requestID uint32, msg []byte) error + func (m *MockAppSender) SendCrossChainAppResponse(ctx context.Context, chainID ids.ID, requestID uint32, msg []byte) error + type MockAppSenderMockRecorder struct + func (mr *MockAppSenderMockRecorder) SendAppError(ctx, nodeID, requestID, errorCode, errorMessage interface{}) *gomock.Call + func (mr *MockAppSenderMockRecorder) SendAppGossip(ctx, msg interface{}) *gomock.Call + func (mr *MockAppSenderMockRecorder) SendAppRequest(ctx, nodeIDs, requestID, msg interface{}) *gomock.Call + func (mr *MockAppSenderMockRecorder) SendAppResponse(ctx, nodeID, requestID, msg interface{}) *gomock.Call + func (mr *MockAppSenderMockRecorder) SendCrossChainAppRequest(ctx, chainID, requestID, msg interface{}) *gomock.Call + func (mr *MockAppSenderMockRecorder) SendCrossChainAppResponse(ctx, chainID, requestID, msg interface{}) *gomock.Call + type MockVM struct + func NewMockVM(ctrl *gomock.Controller) *MockVM + func (m *MockVM) AppGossip(ctx context.Context, nodeID interface{}, msg []byte) error + func (m *MockVM) AppRequest(ctx context.Context, nodeID interface{}, requestID uint32, ...) error + func (m *MockVM) AppRequestFailed(ctx context.Context, nodeID interface{}, requestID uint32) error + func (m *MockVM) AppResponse(ctx context.Context, nodeID interface{}, requestID uint32, response []byte) error + func (m *MockVM) Connected(ctx context.Context, nodeID interface{}, nodeVersion interface{}) error + func (m *MockVM) CreateHandlers(ctx context.Context) (interface{}, error) + func (m *MockVM) CreateStaticHandlers(ctx context.Context) (interface{}, error) + func (m *MockVM) CrossChainAppRequest(ctx context.Context, chainID interface{}, requestID uint32, ...) error + func (m *MockVM) CrossChainAppRequestFailed(ctx context.Context, chainID interface{}, requestID uint32) error + func (m *MockVM) CrossChainAppResponse(ctx context.Context, chainID interface{}, requestID uint32, response []byte) error + func (m *MockVM) Disconnected(ctx context.Context, nodeID interface{}) error + func (m *MockVM) EXPECT() *MockVMMockRecorder + func (m *MockVM) HealthCheck(ctx context.Context) (interface{}, error) + func (m *MockVM) Initialize(ctx context.Context, chainCtx *core.Context, dbManager interface{}, ...) error + func (m *MockVM) SetState(ctx context.Context, state core.State) error + func (m *MockVM) Shutdown(ctx context.Context) error + func (m *MockVM) Version(ctx context.Context) (string, error) + type MockVMMockRecorder struct + func (mr *MockVMMockRecorder) AppGossip(ctx, nodeID, msg interface{}) *gomock.Call + func (mr *MockVMMockRecorder) AppRequest(ctx, nodeID, requestID, deadline, request interface{}) *gomock.Call + func (mr *MockVMMockRecorder) AppRequestFailed(ctx, nodeID, requestID interface{}) *gomock.Call + func (mr *MockVMMockRecorder) AppResponse(ctx, nodeID, requestID, response interface{}) *gomock.Call + func (mr *MockVMMockRecorder) Connected(ctx, nodeID, nodeVersion interface{}) *gomock.Call + func (mr *MockVMMockRecorder) CreateHandlers(ctx interface{}) *gomock.Call + func (mr *MockVMMockRecorder) CreateStaticHandlers(ctx interface{}) *gomock.Call + func (mr *MockVMMockRecorder) CrossChainAppRequest(ctx, chainID, requestID, deadline, msg interface{}) *gomock.Call + func (mr *MockVMMockRecorder) CrossChainAppRequestFailed(ctx, chainID, requestID interface{}) *gomock.Call + func (mr *MockVMMockRecorder) CrossChainAppResponse(ctx, chainID, requestID, response interface{}) *gomock.Call + func (mr *MockVMMockRecorder) Disconnected(ctx, nodeID interface{}) *gomock.Call + func (mr *MockVMMockRecorder) HealthCheck(ctx interface{}) *gomock.Call + func (mr *MockVMMockRecorder) Initialize(...) *gomock.Call + func (mr *MockVMMockRecorder) SetState(ctx, state interface{}) *gomock.Call + func (mr *MockVMMockRecorder) Shutdown(ctx interface{}) *gomock.Call + func (mr *MockVMMockRecorder) Version(ctx interface{}) *gomock.Call Other modules containing this package github.com/luxfi/node/v2