Skip to main content

Module active_features

Module active_features 

Source
Expand description

Per-block view of currently active features.

ActiveFeatures is the immutable snapshot the bank installs once per block after the subdag-fed clock update, and from which every hot-path gating site reads. The map value is the current bank slot at the moment the snapshot was computed; it is informational (debugging, metrics) and is not persisted — historical activation slots would require on-chain state the design intentionally avoids.

This type lives in rialo-s-program-runtime so it can be threaded through EnvironmentConfigInvokeContext, reachable by every builtin processor. The on-chain wire crate feature-management-program-interface stays #![no_std] and free of the ahash dependency.

Structs§

ActiveFeatures
Immutable per-block snapshot of active features.

Type Aliases§

Slot
Slot number alias used by the runtime view.