mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-05 11:31:16 +00:00
No need to duplicate information in this case. It a) requires extra efforts to keep both in sync b) nobody reads godoc documentation anyways.
14 lines
406 B
Go
14 lines
406 B
Go
package core
|
|
|
|
import (
|
|
ctypes "github.com/tendermint/tendermint/rpc/core/types"
|
|
rpctypes "github.com/tendermint/tendermint/rpc/lib/types"
|
|
)
|
|
|
|
// Health gets node health. Returns empty result (200 OK) on success, no
|
|
// response - in case of an error.
|
|
// More: https://tendermint.com/rpc/#/Info/health
|
|
func Health(ctx *rpctypes.Context) (*ctypes.ResultHealth, error) {
|
|
return &ctypes.ResultHealth{}, nil
|
|
}
|