feat!: add node status endpoint (#15597)

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Facundo Medica <14063057+facundomedica@users.noreply.github.com>
This commit is contained in:
Marko
2023-04-13 13:42:52 +00:00
committed by GitHub
co-authored by Aleksandr Bezobchuk Facundo Medica
parent fb0656620b
commit 9e4fbb6db1
13 changed files with 2181 additions and 74 deletions
+2 -2
View File
@@ -167,8 +167,8 @@ func (a *App) RegisterTendermintService(clientCtx client.Context) {
}
// RegisterNodeService registers the node gRPC service on the app gRPC router.
func (a *App) RegisterNodeService(clientCtx client.Context) {
nodeservice.RegisterNodeService(clientCtx, a.GRPCQueryRouter())
func (a *App) RegisterNodeService(clientCtx client.Context, cfg config.Config) {
nodeservice.RegisterNodeService(clientCtx, a.GRPCQueryRouter(), cfg)
}
// Configurator returns the app's configurator.