Add forwarding rules of Clio

This commit is contained in:
Alex Kremer
2023-09-21 20:04:55 +01:00
parent 47089b12cf
commit f7afab942b
2 changed files with 8 additions and 1 deletions

View File

@@ -36,6 +36,13 @@ A Clio server stores validated ledger data such as transaction metadata, account
When a Clio server receives an API request, it looks up data from these data stores. For requests that require data from the P2P network, the Clio server forwards the request to a P2P server, and then passes the response back to the client. When a Clio server receives an API request, it looks up data from these data stores. For requests that require data from the P2P network, the Clio server forwards the request to a P2P server, and then passes the response back to the client.
Clio will **always** forward to `rippled` if any of the following is true:
- `ledger_index` is set to `current` or `closed`.
- `api_version` is set to `1` - Clio only supports API v2.
- `accounts`, `queue` or `full` are set to `true` for the `ledger` API.
- `queue` is set to `true` for the `account_info` API.
- Requested API is `submit`, `submit_multisigned`, `fee`, `ledger_closed`, `ledger_current`, `ripple_path_find`, `manifest`, `channel_authorize` or `channel_verify`.
## See Also ## See Also

View File

@@ -835,6 +835,7 @@ pages:
- ja - ja
- md: concepts/networks-and-servers/the-clio-server.md - md: concepts/networks-and-servers/the-clio-server.md
outdated_translation: true
targets: targets:
- en - en
@@ -4302,7 +4303,6 @@ pages:
- md: concepts/networks-and-servers/ledger-history/online-deletion.ja.md - md: concepts/networks-and-servers/ledger-history/online-deletion.ja.md
targets: targets:
- ja - ja
- md: infrastructure/rippled/configuration/configure-online-deletion.md - md: infrastructure/rippled/configuration/configure-online-deletion.md
targets: targets:
- en - en