Skip to main content

DOMAIN_SLASHING_EVIDENCE

Constant DOMAIN_SLASHING_EVIDENCE 

Source
pub const DOMAIN_SLASHING_EVIDENCE: &[u8] = b"DIG_SLASHING_EVIDENCE_V1";
Expand description

Domain tag for SlashingEvidence::hash (DSL-002).

Traces to SPEC §2.10, §3.5. Prefixed into the SHA-256 digest of a bincode-serialized SlashingEvidence envelope so the resulting hash cannot collide with any other protocol digest (attester signing root, appeal hash, REMARK wire hash). Used as the processed-map key (DSL-026) and the BondTag::Reporter binding (DSL-023); collision under either structure would cause double-slashing or bond misrouting.