aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorStephenButtolph <[email protected]>2020-06-07 17:47:47 -0400
committerStephenButtolph <[email protected]>2020-06-07 17:47:47 -0400
commit72542f28d66678d2fa47ec6c1aeedc6c988ad409 (patch)
treedd0261afa5dc73d4b913efbe1d13a8db2194af1d /plugin
parent803878756eafc3f3c86198ad9f5a8893a63cf7df (diff)
Updated vm to include bootstrapping/bootstrapped functions
Diffstat (limited to 'plugin')
-rw-r--r--plugin/evm/vm.go8
1 files changed, 8 insertions, 0 deletions
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 {