Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LinearizableVMWithEngine ¶ added in v1.17.2
type LinearizableVMWithEngine interface {
Initialize(
ctx context.Context,
chainCtx interface{},
dbManager interface{},
genesisBytes []byte,
upgradeBytes []byte,
configBytes []byte,
msgChan chan<- interface{},
fxs []interface{},
appSender interface{},
) error
Shutdown() error
CreateHandlers(ctx context.Context) (map[string]http.Handler, error)
HealthCheck(ctx context.Context) (interface{}, error)
ParseTx(ctx context.Context, txBytes []byte) (dag.Tx, error)
GetTx(ctx context.Context, txID ids.ID) (dag.Tx, error)
PendingTxs(ctx context.Context) []dag.Tx
}
LinearizableVMWithEngine defines a VM that can be linearized with an engine
func NewVertexVM ¶
func NewVertexVM(vm LinearizableVMWithEngine, tracer trace.Tracer) LinearizableVMWithEngine
Click to show internal directories.
Click to hide internal directories.