Skip to content

Add node health, version, and identity RPC methods - #282

Open
NeerajGodiyal wants to merge 5 commits into
alpenglow-devfrom
koro/rpc-node-info
Open

NeerajGodiyal wants to merge 5 commits into
alpenglow-devfrom
koro/rpc-node-info

Conversation

@NeerajGodiyal

Copy link
Copy Markdown
Collaborator

Summary

  • Add getHealth, getVersion, and getIdentity
  • Return the standard Solana unhealthy-node response, including slot lag when available
  • Configure the RPC identity from the validator identity

Testing

  • go build ./cmd/mithril
  • go vet ./...
  • go test -count=1 -race ./pkg/rpcserver
  • go test -count=1 ./cmd/mithril/node
  • Ran solana-exporter -light-mode against full Mithril processes before and after the change. The baseline failed because the required RPC methods were unavailable; the updated node served the exporter metrics successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant