diff options
author | Ted Yin <[email protected]> | 2020-09-18 15:59:34 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2020-09-18 15:59:34 -0400 |
commit | d0bbfb33f16a69ce24e123b01ebb30de8193ddc8 (patch) | |
tree | f4018618c3a5165e83d5989ea51f6f45e092002d | |
parent | d048937c48753d9eaef771bf71820cf95d79df26 (diff) | |
parent | df35a9b248b51fd47e9d3038489fec876be761f3 (diff) |
Merge pull request #37 from ava-labs/add-healthv0.3.0-rc.6
add no-op health endpoint
-rw-r--r-- | plugin/evm/health.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/plugin/evm/health.go b/plugin/evm/health.go new file mode 100644 index 0000000..ea618d2 --- /dev/null +++ b/plugin/evm/health.go @@ -0,0 +1,9 @@ +package evm + +// Health returns nil if this chain is healthy. +// Also returns details, which should be one of: +// string, []byte, map[string]string +func (vm *VM) Health() (interface{}, error) { + // TODO perform actual health check + return nil, nil +} |