Commit 75aae6d
stellar-rpc retired the time-based `transaction-retention-window` setting in
favor of a single ledger-denominated `history-retention-window` covering both
transactions and events, with a stock default of 120960 ledgers (~7 days).
The docs still described a 24-hour default and a separate seven-day cap.
- getTransaction.mdx and the getTransaction/getEvents openrpc method
descriptions now describe the ledger-count window, its 120960 default, and
how to inspect the live window via getHealth (ledgerRetentionWindow,
oldestLedger, latestLedger); regenerated static/stellar-rpc.openrpc.json
- softened the RPC README "maximum 7 days" line to a bounded default window
Verified against stellar-rpc source and live getHealth on testnet + mainnet.
Closes #2595
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 7a8791c commit 75aae6d
5 files changed
Lines changed: 6 additions & 6 deletions
File tree
- docs/data/apis/rpc
- api-reference/methods
- openrpc/src/stellar-rpc/methods
- static
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
1094 | 1094 | | |
1095 | 1095 | | |
1096 | 1096 | | |
1097 | | - | |
| 1097 | + | |
1098 | 1098 | | |
1099 | 1099 | | |
1100 | 1100 | | |
| |||
0 commit comments