clementine_core::musig2

Trait AggregateFromPublicKeys

Source
pub trait AggregateFromPublicKeys {
    // Required method
    fn from_musig2_pks(
        pks: Vec<PublicKey>,
        tweak: Option<Musig2Mode>,
    ) -> Result<XOnlyPublicKey, BridgeError>;
}

Required Methods§

Source

fn from_musig2_pks( pks: Vec<PublicKey>, tweak: Option<Musig2Mode>, ) -> Result<XOnlyPublicKey, BridgeError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl AggregateFromPublicKeys for XOnlyPublicKey

Source§

fn from_musig2_pks( pks: Vec<PublicKey>, tweak: Option<Musig2Mode>, ) -> Result<XOnlyPublicKey, BridgeError>

Implementors§