github.com/MetalBlockchain/subnet-evm@v0.4.9/plugin/evm/health.go (about)

     1  // (c) 2019-2020, Ava Labs, Inc. All rights reserved.
     2  // See the file LICENSE for licensing terms.
     3  
     4  package evm
     5  
     6  import "context"
     7  
     8  // Health returns nil if this chain is healthy.
     9  // Also returns details, which should be one of:
    10  // string, []byte, map[string]string
    11  func (vm *VM) HealthCheck(context.Context) (interface{}, error) {
    12  	// TODO perform actual health check
    13  	return nil, nil
    14  }