Expand description
Key types shared across multiple sui-rpc-store CFs.
Keys used by only one CF live in that CF’s own module; only the types reused across many CFs land here.
Structs§
- Struct
TagKey - Newtype wrapping
StructTagwith a streaming-friendlyEncode/Decodepair. - Type
TagKey - Newtype wrapping
TypeTagwith the same byte-identical, but streaming-friendlyEncode/Decodeshape asStructTagKey. - U64Be
- A
u64encoded big-endian, suitable for keys whose iteration order should match numerical order. Shared across CFs keyed by transaction sequence, checkpoint sequence, and epoch id, and reused as the value type for thetx_seq_by_digestandcheckpoint_seq_by_digestlookup CFs. - U64Varint
- A
u64encoded as a protobuf-style varint, suitable for value positions where on-disk size matters more than sort order. Compared toU64Be: smaller for typical values (1–5 bytes for anything below2^35), slightly larger only near theu64::MAXcorner (up to 10 bytes), and never sort-stable — hence values only. - UnitKey
- Zero-byte key for singleton CFs. Encodes as the empty byte string; decoding requires the input to be empty too.