pub fn witness_signing_digest(tree_size: u64, root_hash: &[u8; 32]) -> [u8; 32]Expand description
Convenience: SHA-256 of the signing message. Some witnesses sign the digest; some sign the raw message. The monitor must know which the witness uses (per the witness’s published policy).