Add README to handlers folder

This commit is contained in:
CJ Cobb
2021-06-23 11:40:18 -04:00
committed by GitHub
parent 146bf2a07f
commit c0ddc9d482

10
src/handlers/README.md Normal file
View 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.