mirror of
https://github.com/XRPLF/clio.git
synced 2026-07-29 18:10:30 +00:00
Add README to handlers folder
This commit is contained in:
10
src/handlers/README.md
Normal file
10
src/handlers/README.md
Normal file
@@ -0,0 +1,10 @@
|
||||
This folder contains all of the RPC handlers.
|
||||
|
||||
Generally, handlers parse the request and call the appropriate method of `BackendInterface`
|
||||
to read from the database.
|
||||
|
||||
Certain RPCs, such as `fee` and `submit`, are just forwarded to `rippled`, and the response
|
||||
is propagated back to the client.
|
||||
|
||||
If the database returns a timeout, an error is returned to the client.
|
||||
This automatically happens, and is caught at a higher level, outside of the handler.
|
||||
Reference in New Issue
Block a user