Skip to content

Commit

Permalink
rpc: Update getHealth documentation (#549)
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed May 10, 2024
1 parent a96e35d commit f857825
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion openrpc/src/methods/getHealth.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,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. A full window state can be determined via: ledgerRetentionWindow = latestLedger - oldestLedger + 1"
}
}
}
Expand All @@ -27,7 +39,10 @@
"result": {
"name": "getHealthResult",
"value": {
"status": "healthy"
"status": "healthy",
"latestLedger": 51583040,
"oldestLedger": 51565760,
"ledgerRetentionWindow": 17281
}
}
}
Expand Down

0 comments on commit f857825

Please sign in to comment.