Skip to main content

PROFILE_ROOT_ANNOUNCE

Constant PROFILE_ROOT_ANNOUNCE 

Source
pub const PROFILE_ROOT_ANNOUNCE: u8 = 223;
Expand description

Wire opcode for a profile-root announce broadcast (epic #3008).

Body is exactly 64 bytes: store_id ‖ root, two 32-byte hashes with no framing, announcing the sender’s current profile-SMT root for that store. A public all-peers flood, same §5.4 carve-out as STORE_MELTED.

Deliberately unsigned. The authority for a profile root is the on-chain root, not the announcing peer, so the receiver compares any announced root against chain before trusting it. A forged announce therefore costs an attacker one wasted PROFILE_BODY_REQUEST that then fails that compare — signing would buy no additional guarantee while adding a signature verification to every message of the highest-volume broadcast in the band.