Files
clio/src
Sergey Kuznetsov 59d07fab64 fix: Flush buffers before renaming cache file (#2927)
If clio shuts itself down due to exceeding graceful period when cache is
saved and renamed but the buffers are not flushed, we may end up with a
corrupted cache file. Clio will detect corruption and will not load
corrupted cache file, but we could avoid it by explicitly flushing
ofstream buffer.
2026-01-22 11:35:00 +00:00
..

Clio API server

Introduction

Clio is an XRP Ledger API server optimized for RPC calls over WebSocket or JSON-RPC.

It stores validated historical ledger and transaction data in a more space efficient format, and uses up to 4 times less space than rippled.

Clio can be configured to store data in Apache Cassandra or ScyllaDB, enabling scalable read throughput. Multiple Clio nodes can share access to the same dataset, which allows for a highly available cluster of Clio nodes without the need for redundant data storage or computation.

Develop

As you prepare to develop code for Clio, please be sure you are aware of our current Contribution guidelines.

Read about @ref "rpc" carefully to know more about writing your own handlers for Clio.