Expand description
Forwarding to a node: methods that Clio does not serve itself but passes
to xrpld (node state, fees, the current ledger, field definitions).
Nodes are tried round-robin, each with its own timeout; the node’s
response is returned as is and marked forwarded, as in Clio. Identical
requests within CACHE_FOR get the same response; this is how Clio absorbs
bursts of fee polling. One request gets TOTAL_LIMIT over all nodes, and a
node that just failed is tried last, so that one dead node doesn’t cost half
of the requests a timeout.
submit and simulate go to a node only when the operator turned them on,
never carry signing material, and submit is never cached or retried once
it may have reached a node (send_transaction).
Structs§
Constants§
- FORWARDED
- Methods that go to the node.
Functions§
- forwarded
- Whether a request goes to the node, following Clio’s rule: node methods; a
public read method asking about the current or closed ledger (Astraea keeps
only validated ones); the transaction queue in
account_infoandledger. - hide_
node - Leaves the node’s own fields out of a forwarded node-state reply.
- node_
info - Node fields in
server_info, as in Clio: the fee multiplier (clients such as xrpl.js compute fees from it; hundreds under escalation) and the xrpld version.nodeis theresultof the node’sserver_inforesponse. - submission
- Methods that send a transaction to a node or try one out.
- submission_
params - The parameters of
submitorsimulatethat may reach the node. A request that would have the node sign is refused: a secret must not travel through this server, and a node that trusts us might act on it.