From 72542f28d66678d2fa47ec6c1aeedc6c988ad409 Mon Sep 17 00:00:00 2001 From: StephenButtolph Date: Sun, 7 Jun 2020 17:47:47 -0400 Subject: Updated vm to include bootstrapping/bootstrapped functions --- plugin/evm/vm.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'plugin/evm') diff --git a/plugin/evm/vm.go b/plugin/evm/vm.go index 2dd0dd8..3171a6b 100644 --- a/plugin/evm/vm.go +++ b/plugin/evm/vm.go @@ -251,6 +251,14 @@ func (vm *VM) Initialize( return nil } +// Bootstrapping notifies this VM that the consensus engine is performing +// bootstrapping +func (vm *VM) Bootstrapping() error { return nil } + +// Bootstrapped notifies this VM that the consensus engine has finished +// bootstrapping +func (vm *VM) Bootstrapped() error { return nil } + // Shutdown implements the snowman.ChainVM interface func (vm *VM) Shutdown() error { if vm.ctx == nil { -- cgit v1.2.3