#solana #activated #choose #majority #running

rialo-s-feature-gate-interface

Solana feature gate program interface

13 unstable releases (3 breaking)

0.4.0-alpha.0 Apr 8, 2026
0.3.0 Apr 7, 2026
0.3.0-alpha.0 Mar 25, 2026
0.2.0 Feb 26, 2026
0.1.6 Nov 28, 2025

#3 in #activated

Download history 41/week @ 2025-12-24 25/week @ 2025-12-31 8/week @ 2026-01-07 9/week @ 2026-01-14 66/week @ 2026-01-21 58/week @ 2026-01-28 96/week @ 2026-02-04 72/week @ 2026-02-11 77/week @ 2026-02-18 66/week @ 2026-02-25 62/week @ 2026-03-04 89/week @ 2026-03-11 85/week @ 2026-03-18 32/week @ 2026-03-25 55/week @ 2026-04-01 39/week @ 2026-04-08

231 downloads per month
Used in 38 crates (2 directly)

Apache-2.0

120KB
2K SLoC

Runtime features.

Runtime features provide a mechanism for features to be simultaneously activated across the network. Since validators may choose when to upgrade, features must remain dormant until a sufficient majority of the network is running a version that would support a given feature.

Feature activation is accomplished by:

  1. Activation is requested by the feature authority, who issues a transaction to create the feature account. The newly created feature account will have the value of Feature::default()
  2. When the next epoch is entered the runtime will check for new activation requests and active them. When this occurs, the activation slot is recorded in the feature account

Dependencies

~0.2–1MB
~19K SLoC