Versions in this module Expand all Collapse all v1 v1.12.2 Mar 3, 2025 Changes in this version + var Version = &version.Semantic + type Factory struct + func (*Factory) New(logging.Logger) (interface{}, error) + type VM struct + func (*VM) HealthCheck(context.Context) (interface{}, error) + func (*VM) Version(context.Context) (string, error) + func (vm *VM) BuildBlock(ctx context.Context) (snowman.Block, error) + func (vm *VM) BuildBlockWithContext(ctx context.Context, blockContext *smblock.Context) (snowman.Block, error) + func (vm *VM) CreateHandlers(context.Context) (map[string]http.Handler, error) + func (vm *VM) GetBlock(_ context.Context, blkID ids.ID) (snowman.Block, error) + func (vm *VM) GetBlockIDAtHeight(_ context.Context, height uint64) (ids.ID, error) + func (vm *VM) Initialize(_ context.Context, chainContext *snow.Context, db database.Database, ...) error + func (vm *VM) LastAccepted(context.Context) (ids.ID, error) + func (vm *VM) ParseBlock(_ context.Context, blkBytes []byte) (snowman.Block, error) + func (vm *VM) SetPreference(_ context.Context, preferred ids.ID) error + func (vm *VM) SetState(_ context.Context, state snow.State) error + func (vm *VM) Shutdown(context.Context) error