Function tweaked_key_agg

Source
pub fn tweaked_key_agg<'a>(
    keys: impl IntoIterator<Item = PublicKey>,
    tweak: [u8; 32],
) -> (KeyAggCache, PublicKey)
Expand description

Returns the key agg cache with the tweak applied and the resulting pubkey with the tweak applied.

Key order is not important as keys are sorted before aggregation.