You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
441 B

  1. package core
  2. import (
  3. ctypes "github.com/tendermint/tendermint/rpc/core/types"
  4. rpctypes "github.com/tendermint/tendermint/rpc/jsonrpc/types"
  5. )
  6. // Health gets node health. Returns empty result (200 OK) on success, no
  7. // response - in case of an error.
  8. // More: https://docs.tendermint.com/master/rpc/#/Info/health
  9. func (env *Environment) Health(ctx *rpctypes.Context) (*ctypes.ResultHealth, error) {
  10. return &ctypes.ResultHealth{}, nil
  11. }