Expand description
Sequential pipeline that populates the
schema::event_bitmap CF.
Mirrors the event-space half of
write_ledger_history_rows_for_checkpoint in
sui-core::rpc_index. For every event in every transaction
the pipeline:
- Visits dimension candidates via
sui_inverted_index::for_each_event_dimension. - Encodes the dimension key via
sui_inverted_index::encode_dimension_key. - Packs
(tx_seq, event_idx)into the event-seq space the schema uses (pack(tx_seq, event_idx)), checks the packing doesn’t overflow the per-tx event limit (1 << EVENT_BITS) or thetx_seqceiling (u64::MAX >> EVENT_BITS), and groups the bit into(dim_key, packed / EVENT_BUCKET_SIZE).
Structs§
- Event
Bitmap - Pipeline marker for
event_bitmap. - Row
- One pre-built bitmap for a single
(dimension_key, bucket)pair, ready to be staged as a merge operand against the CF.