Documentation ¶
Index ¶
- type DAGVM
- func (_m *DAGVM) AppGossip(nodeID ids.NodeID, msg []byte) error
- func (_m *DAGVM) AppRequest(nodeID ids.NodeID, requestID uint32, deadline time.Time, request []byte) error
- func (_m *DAGVM) AppRequestFailed(nodeID ids.NodeID, requestID uint32) error
- func (_m *DAGVM) AppResponse(nodeID ids.NodeID, requestID uint32, response []byte) error
- func (_m *DAGVM) Connected(id ids.NodeID, nodeVersion version.Application) error
- func (_m *DAGVM) CreateHandlers() (map[string]*common.HTTPHandler, error)
- func (_m *DAGVM) CreateStaticHandlers() (map[string]*common.HTTPHandler, error)
- func (_m *DAGVM) Disconnected(id ids.NodeID) error
- func (_m *DAGVM) GetTx(_a0 ids.ID) (snowstorm.Tx, error)
- func (_m *DAGVM) HealthCheck() (interface{}, error)
- func (_m *DAGVM) Initialize(ctx *snow.Context, dbManager manager.Manager, genesisBytes []byte, ...) error
- func (_m *DAGVM) ParseTx(tx []byte) (snowstorm.Tx, error)
- func (_m *DAGVM) PendingTxs() []snowstorm.Tx
- func (_m *DAGVM) SetState(state snow.State) error
- func (_m *DAGVM) Shutdown() error
- func (_m *DAGVM) Version() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DAGVM ¶
DAGVM is an autogenerated mock type for the DAGVM type
func (*DAGVM) AppRequest ¶
func (_m *DAGVM) AppRequest(nodeID ids.NodeID, requestID uint32, deadline time.Time, request []byte) error
AppRequest provides a mock function with given fields: nodeID, requestID, deadline, request
func (*DAGVM) AppRequestFailed ¶
AppRequestFailed provides a mock function with given fields: nodeID, requestID
func (*DAGVM) AppResponse ¶
AppResponse provides a mock function with given fields: nodeID, requestID, response
func (*DAGVM) CreateHandlers ¶
func (_m *DAGVM) CreateHandlers() (map[string]*common.HTTPHandler, error)
CreateHandlers provides a mock function with given fields:
func (*DAGVM) CreateStaticHandlers ¶
func (_m *DAGVM) CreateStaticHandlers() (map[string]*common.HTTPHandler, error)
CreateStaticHandlers provides a mock function with given fields:
func (*DAGVM) Disconnected ¶
Disconnected provides a mock function with given fields: id
func (*DAGVM) HealthCheck ¶
HealthCheck provides a mock function with given fields:
func (*DAGVM) Initialize ¶
func (_m *DAGVM) Initialize(ctx *snow.Context, dbManager manager.Manager, genesisBytes []byte, upgradeBytes []byte, configBytes []byte, toEngine chan<- common.Message, fxs []*common.Fx, appSender common.AppSender) error
Initialize provides a mock function with given fields: ctx, dbManager, genesisBytes, upgradeBytes, configBytes, toEngine, fxs, appSender
func (*DAGVM) PendingTxs ¶
PendingTxs provides a mock function with given fields: