0.3.15-pre.010-fix.001
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: crates/ksp-worker-raw-transaction-ingest-lib/src/snapshot.rs
|
||||
// version: 9
|
||||
// version: 10
|
||||
|
||||
/// Runtime-neutral boxed future resolving to one newer concrete RAW transaction ingest Worker snapshot.
|
||||
pub type RawTransactionIngestSnapshotFuture<'a> =
|
||||
@@ -533,6 +533,36 @@ impl crate::RawTransactionIngestSnapshot {
|
||||
return &self.worker;
|
||||
}
|
||||
|
||||
/// Reports whether continuity policy has emitted a run-local health projection.
|
||||
#[must_use]
|
||||
pub const fn continuity_policy_observed(&self) -> bool {
|
||||
return self.continuity_policy_observed;
|
||||
}
|
||||
|
||||
/// Returns the latest run-local continuity frontier when continuity policy has observed one.
|
||||
#[must_use]
|
||||
pub const fn continuity_frontier_slot(&self) -> std::option::Option<u64> {
|
||||
return self.continuity_frontier_slot;
|
||||
}
|
||||
|
||||
/// Reports whether the continuity policy currently retains one or more open gaps.
|
||||
#[must_use]
|
||||
pub const fn continuity_has_open_gaps(&self) -> bool {
|
||||
return self.continuity_has_open_gaps;
|
||||
}
|
||||
|
||||
/// Reports whether all failed-source continuity obligations have been reconciled for this run.
|
||||
#[must_use]
|
||||
pub const fn failed_source_losses_reconciled(&self) -> bool {
|
||||
return self.failed_source_losses_reconciled;
|
||||
}
|
||||
|
||||
/// Reports whether current source coverage proves the active target can continue into future slots.
|
||||
#[must_use]
|
||||
pub const fn future_target_coverage(&self) -> bool {
|
||||
return self.future_target_coverage;
|
||||
}
|
||||
|
||||
/// Returns the configured bounded admission queue capacity.
|
||||
#[must_use]
|
||||
pub const fn admission_queue_capacity(&self) -> usize {
|
||||
|
||||
Reference in New Issue
Block a user