RegistrationsThisInterval
Storage Map v101 → v411Registrations in current adjustment interval.
Explore chainThe Big Picture
This counter tracks how many registrations have happened since the last difficulty adjustment. At each AdjustmentInterval, it's compared to TargetRegistrationsPerInterval to determine whether costs should increase or decrease.
Why This Matters
Will registration get cheaper or more expensive? Compare this to TargetRegistrationsPerInterval. Above target = costs rising. Below = costs falling.
Example Scenario
Query RegistrationsThisInterval(netuid=1) returns 5. Target is 3. We're 67% above target, so expect difficulty and burn to increase at the next adjustment.
Common Questions
- When does this reset?
- At each AdjustmentInterval. After difficulty adjusts, the counter resets to zero for the next interval.
- Does this include both POW and burn?
- Yes, this is total registrations. Check POWRegistrationsThisInterval and BurnRegistrationsThisInterval for the breakdown.
Use Cases
- Predict whether costs will increase or decrease
- Monitor registration activity in real-time
- Research registration patterns
- Build registration activity dashboards
- Plan registration timing
From Chain Metadata
MAP ( netuid ) --> registrations_this_interval
Purpose & Usage
Purpose
Track registration rate for difficulty adjustment - compared against target to adjust costs.
Common Query Patterns
- Query by netuid
- Predict difficulty changes
- Monitor registration activity
Query Keys
| # | Name | Type | Description |
|---|---|---|---|
| 1 | netuid | u16 | netuid (u16, hashed key component) |
Stored Value
registrations_this_interval (u16)
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 RegistrationsThisInterval storage
const netuid = 1;
const result = await api.query.SubtensorModule.RegistrationsThisInterval.getValue(netuid);
console.log("RegistrationsThisInterval:", result);On-Chain Activity
100K–1M estimated writes
#44 most written storage item
Modified via user-submitted extrinsics
As of block 7,429,232
Version History
Runtime Info
View Source- Pallet
- SubtensorModule
- Storage Kind
- Map
- First Version
- v101
- Current Version
- v411