index
:
coreth
Avalanche C-Chain service code.
log msg
author
committer
range
dev
devnet-no-plugin
ecstasy-fixes
ecstasy-transfer
geth-tavum
master
multi-coin
about
summary
refs
log
tree
commit
diff
path:
root
/
plugin
/
evm
/
health.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
Ted Yin <tederminant@gmail.com>
2020-09-18 15:59:34 -0400
committer
GitHub <noreply@github.com>
2020-09-18 15:59:34 -0400
commit
d0bbfb33f16a69ce24e123b01ebb30de8193ddc8
(
patch
)
tree
f4018618c3a5165e83d5989ea51f6f45e092002d
/
plugin/evm/health.go
parent
d048937c48753d9eaef771bf71820cf95d79df26
(
diff
)
parent
df35a9b248b51fd47e9d3038489fec876be761f3
(
diff
)
Merge pull request #37 from ava-labs/add-health
v0.3.0-rc.6
add no-op health endpoint
Diffstat
(limited to 'plugin/evm/health.go')
-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
+}