github.com/badrootd/celestia-core@v0.0.0-20240305091328-aa4207a4b25d/rpc/core/health.go (about)

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