Documentation ¶
Index ¶
- type DAGVM
- func (_m *DAGVM) AppGossip(nodeID ids.ShortID, msg []byte) error
- func (_m *DAGVM) AppRequest(nodeID ids.ShortID, requestID uint32, deadline time.Time, request []byte) error
- func (_m *DAGVM) AppRequestFailed(nodeID ids.ShortID, requestID uint32) error
- func (_m *DAGVM) AppResponse(nodeID ids.ShortID, requestID uint32, response []byte) error
- func (_m *DAGVM) Connected(id ids.ShortID, 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.ShortID) 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) AppGossip ¶ added in v1.7.4
AppGossip provides a mock function with given fields: nodeID, msg
func (*DAGVM) AppRequest ¶ added in v1.7.4
func (_m *DAGVM) AppRequest(nodeID ids.ShortID, requestID uint32, deadline time.Time, request []byte) error
AppRequest provides a mock function with given fields: nodeID, requestID, deadline, request
func (*DAGVM) AppRequestFailed ¶ added in v1.7.4
AppRequestFailed provides a mock function with given fields: nodeID, requestID
func (*DAGVM) AppResponse ¶ added in v1.7.4
AppResponse provides a mock function with given fields: nodeID, requestID, response
func (*DAGVM) Connected ¶ added in v1.7.4
Connected provides a mock function with given fields: id, nodeVersion
func (*DAGVM) CreateHandlers ¶
func (_m *DAGVM) CreateHandlers() (map[string]*common.HTTPHandler, error)
CreateHandlers provides a mock function with given fields:
func (*DAGVM) CreateStaticHandlers ¶ added in v1.7.4
func (_m *DAGVM) CreateStaticHandlers() (map[string]*common.HTTPHandler, error)
CreateStaticHandlers provides a mock function with given fields:
func (*DAGVM) Disconnected ¶ added in v1.7.4
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: