Skip to main content

DOMAIN_SLASH_APPEAL

Constant DOMAIN_SLASH_APPEAL 

Source
pub const DOMAIN_SLASH_APPEAL: &[u8] = b"DIG_SLASH_APPEAL_V1";
Expand description

Domain tag for SlashAppeal::hash (DSL-058, DSL-159).

Traces to SPEC §2.10, §3.7. Prefixed into the SHA-256 digest of a bincode-serialized SlashAppeal envelope so the appeal hash cannot collide with an evidence hash (DOMAIN_SLASHING_EVIDENCE) or any other protocol digest. Appeal hashes key PendingSlash::appeal_history entries (DSL-058 duplicate check) and are used by the adjudicator (DSL-070 winning_appeal_hash).