Affects bond value penalties.
Current Value
65535The Big Picture
Bonds can be penalized for various reasons - disagreeing with consensus, late weight submission, or other protocol violations. This constant sets the initial penalty severity. Higher penalties discourage deviation from consensus; lower penalties allow more exploration and disagreement without severe punishment.
Why This Matters
As a validator, know the penalty for diverging from consensus. High penalty means you should be conservative; low penalty means you have more room to experiment with weights.
Example
With BondsPenalty of 0.1, validators who disagree with consensus have their bonds reduced by 10%. If you set weights very different from other validators, your bond accumulation slows, reducing your emission share over time.
Common Questions
- What triggers bond penalties?
- Primarily disagreeing with consensus weights. If your weights are outliers compared to other validators, you accumulate bonds more slowly.
- Can penalties be avoided?
- Set weights similar to other validators. But this creates tension - you want to reward good miners, even if others disagree. It's a balance.
From Chain Metadata
Initial bonds penalty.
Use Cases
- Bond calculations
- Consensus
Value History
| Version | Block | Change | Value |
|---|---|---|---|
| v233 | #4,920,350 | Added | 0 |
| v257 | #5,228,683 | Changed | 0 → 65535 |
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 InitialBondsPenalty constant
const value = await api.constants.SubtensorModule.InitialBondsPenalty();
console.log("InitialBondsPenalty:", value);Type Information
- Type
- u16
- Byte Size
- 2 bytes
- Encoding
- fixed
- Raw Hex
- 0xffff
Version History
Runtime Info
- Pallet
- SubtensorModule
- First Version
- v233
- Latest Version
- v233
- Current Runtime
- v411