NetworkRegistrationAllowed
Storage Map v121 → v411Whether registration is allowed per subnet .
Explore chainQueried by: minerssubnet ownersdevelopers
The Big Picture
Master toggle for subnet registration. When false, no new neurons can register regardless of other settings. Used for controlled subnet launches or maintenance.
Use Cases
- Check if registration is open
- Plan registration timing
- Monitor subnet access
From Chain Metadata
MAP ( netuid ) --> network_registration_allowed
Purpose & Usage
Purpose
Toggle neuron registration on/off.
Common Query Patterns
- Query by netuid
Query Keys
| # | Name | Type | Description |
|---|---|---|---|
| 1 | netuid | u16 | netuid (u16, hashed key component) |
Stored Value
network_registration_allowed (bool)
Relationships
Modified By
Related Events
Code Examples
import { createClient, Binary } from "polkadot-api";
import { getWsProvider } from "polkadot-api/ws";
import { sub } from "@polkadot-api/descriptors"; // generated by: npx papi add sub -w wss://entrypoint-finney.opentensor.ai:443
const client = createClient(getWsProvider("wss://entrypoint-finney.opentensor.ai:443"));
const api = client.getTypedApi(sub);
// Query NetworkRegistrationAllowed storage
const netuid = 1;
const result = await api.query.SubtensorModule.NetworkRegistrationAllowed.getValue(netuid);
console.log("NetworkRegistrationAllowed:", result);Version History
v121 block 518,345 Added
v123 block 720,235 Internal re-bind
v149 block 3,014,339 Internal re-bind
v151 block 3,157,274 Internal re-bind
v166–v194 · runtime versions skipped on chain (never deployed)
v195 block 3,791,350 Internal re-bind
v278–v289 · runtime versions skipped on chain (never deployed)
v290 block 5,947,548 Internal re-bind Current
Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Map
- First Version
- v121
- Current Version
- v411