mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-11 06:11:07 +00:00
Signed-off-by: Thane Thomson <connect@thanethomson.com> Signed-off-by: Thane Thomson <connect@thanethomson.com>
14 lines
421 B
Go
14 lines
421 B
Go
package core
|
|
|
|
import (
|
|
ctypes "github.com/tendermint/tendermint/rpc/core/types"
|
|
rpctypes "github.com/tendermint/tendermint/rpc/jsonrpc/types"
|
|
)
|
|
|
|
// Health gets node health. Returns empty result (200 OK) on success, no
|
|
// response - in case of an error.
|
|
// More: https://docs.tendermint.com/v0.37/rpc/#/Info/health
|
|
func Health(ctx *rpctypes.Context) (*ctypes.ResultHealth, error) {
|
|
return &ctypes.ResultHealth{}, nil
|
|
}
|