Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
rpc: Update getHealth documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed May 8, 2024
1 parent 2d2471b commit 77be31f
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion static/openrpc.json
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,18 @@
"status": {
"type": "string",
"description": "\"healthy\""
},
"latestLedger": {
"type": "number",
"description": "Most recent known ledger sequence"
},
"oldestLedger": {
"type": "number",
"description": "Oldest ledger sequence kept in history"
},
"ledgerRetentionWindow": {
"type": "number",
"description": "Maximum retention window configured. When the window is full: ledgerRetentionWindow = latestLedger - oldestLedger"
}
}
}
Expand All @@ -365,7 +377,10 @@
"result": {
"name": "getHealthResult",
"value": {
"status": "healthy"
"status": "healthy",
"latestLedger": 51583040,
"oldestLedger": 51565760,
"ledgerRetentionWindow": 17280
}
}
}
Expand Down

0 comments on commit 77be31f

Please sign in to comment.