Skip to main content

make_tweak

Function make_tweak 

Source
pub fn make_tweak(tweak_type: u8, sub_position: u32, index: u32) -> Tweak
Expand description

Builds a tweak.

index is the epoch (chain, WOTS public key, encoding) or the Merkle node index; sub_position is the chain position or the Merkle level.