Documentation ¶
Index ¶
- type ChainVM
- func (_m *ChainVM) Bootstrapped() error
- func (_m *ChainVM) Bootstrapping() error
- func (_m *ChainVM) BuildBlock() (snowman.Block, error)
- func (_m *ChainVM) CreateHandlers() (map[string]*common.HTTPHandler, error)
- func (_m *ChainVM) GetBlock(_a0 ids.ID) (snowman.Block, error)
- func (_m *ChainVM) HealthCheck() (interface{}, error)
- func (_m *ChainVM) Initialize(ctx *snow.Context, dbManager manager.Manager, genesisBytes []byte, ...) error
- func (_m *ChainVM) LastAccepted() (ids.ID, error)
- func (_m *ChainVM) ParseBlock(_a0 []byte) (snowman.Block, error)
- func (_m *ChainVM) SetPreference(_a0 ids.ID) error
- func (_m *ChainVM) Shutdown() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainVM ¶
ChainVM is an autogenerated mock type for the ChainVM type
func (*ChainVM) Bootstrapped ¶
Bootstrapped provides a mock function with given fields:
func (*ChainVM) Bootstrapping ¶
Bootstrapping provides a mock function with given fields:
func (*ChainVM) BuildBlock ¶
BuildBlock provides a mock function with given fields:
func (*ChainVM) CreateHandlers ¶
func (_m *ChainVM) CreateHandlers() (map[string]*common.HTTPHandler, error)
CreateHandlers provides a mock function with given fields:
func (*ChainVM) HealthCheck ¶
HealthCheck provides a mock function with given fields:
func (*ChainVM) Initialize ¶
func (_m *ChainVM) Initialize(ctx *snow.Context, dbManager manager.Manager, genesisBytes []byte, upgradeBytes []byte, configBytes []byte, toEngine chan<- common.Message, fxs []*common.Fx) error
Initialize provides a mock function with given fields: ctx, dbManager, genesisBytes, upgradeBytes, configBytes, toEngine, fxs
func (*ChainVM) LastAccepted ¶
LastAccepted provides a mock function with given fields:
func (*ChainVM) ParseBlock ¶
ParseBlock provides a mock function with given fields: _a0
func (*ChainVM) SetPreference ¶
SetPreference provides a mock function with given fields: _a0