Function cashweb::relay::stamp::create_stamp_private_keys[][src]

pub fn create_stamp_private_keys<O>(
    private_key: SecretKey,
    payload_digest: &[u8; 32],
    output_profile: O
) -> Result<Vec<Vec<SecretKey, Global>, Global>, StampKeyError> where
    &'a O: for<'a> IntoIterator,
    <&'a O as IntoIterator>::Item == &'a u32

Construct stamp private keys.

The output_profile is an iterable collection of the number of each stamp vouts.