Skip to main content

signing_input

Function signing_input 

Source
pub fn signing_input(generation: u64, policy_hash: &[u8; 32]) -> Vec<u8> ⓘ
Expand description

The exact bytes that get signed: domain-separated (generation, policy_hash). Binding the generation prevents a rollback/replay of an older signed matrix under a new generation.