Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 694 Bytes

3-how-to-maintain-rpc-node.md

File metadata and controls

35 lines (21 loc) · 694 Bytes

RPC Maintenance

More to this section coming soon.

Join Discord - Shadow Ops channel - https://discord.gg/c7ts863T

Healthcheck

curl http://localhost:8899 -k -X POST -H "Content-Type: application/json" -d '
  {"jsonrpc":"2.0","id":1, "method":"getHealth"}
'

Tracking root slot

timeout 120 solana catchup --our-localhost=8899 --log --follow --commitment root

curl for getBlockProduction

curl http://localhost:8899 -k -X POST -H "Content-Type: application/json" -H "Referer: GGLabs" -d '{"jsonrpc":"2.0","id":1, "method":"getBlockProduction"}
'

Grafana Dashboard coming soon

Alerts coming soon.

Useful server commands for running system checks coming soon.