Expand description
Adapter that exposes RpcStoreSchema through the trait stack
sui-rpc-api consumes — ObjectStore, ReadStore,
ChildObjectResolver, RpcStateReader, and RpcIndexes.
The adapter type, RpcStoreReader, is generic over a
Reader so a single struct serves both tip reads (R = Db)
and point-in-time reads bound to a snapshot (R = Snapshot).
Callers requesting “give me the latest” hold the tip reader;
callers requesting “show me state at checkpoint X” hold the
snapshot-bound one. The choice of consistency context is made
once, at the point RpcStoreReader::at_snapshot is called.
Structs§
- RpcStore
Reader - Adapter exposing
RpcStoreSchemathrough thesui-rpc-apireader-trait stack.