Skip to main content

Module ledger_service

Module ledger_service 

Source

Enums§

ObjectSelector
Which state of an object a GetObjectRequest reads.

Functions§

protocol_config_from_parts
Builds the proto message from a version’s rendered settings and its feature flags.
protocol_config_to_proto
set_epoch_end_fields
Set the end-of-epoch fields read_mask selects from epoch_info. Call it exactly when the response serves the epoch’s last_checkpoint, so the end fields appear together with it.
validate_get_object_requests
Validate each request’s object_id and selector fields, and the read mask shared by all of them; each request’s own read_mask is ignored. A request that sets both version and max_version is rejected. at_checkpoint combines with either. batch says whether requests are the items of a BatchGetObjects request: the max_version violation then names the item (requests[i].max_version), and for a GetObject request the field alone.