Trait elements_miniscript::descriptor::ElementsTrait [−][src]
pub trait ElementsTrait<Pk: MiniscriptKey> { fn blind_addr(
&self,
blinder: Option<PublicKey>,
params: &'static AddressParams
) -> Result<Address, Error>
where
Pk: ToPublicKey; }
Expand description
Elements specific additional features that we want on DescriptorTrait from upstream.
Required methods
fn blind_addr(
&self,
blinder: Option<PublicKey>,
params: &'static AddressParams
) -> Result<Address, Error> where
Pk: ToPublicKey,
fn blind_addr(
&self,
blinder: Option<PublicKey>,
params: &'static AddressParams
) -> Result<Address, Error> where
Pk: ToPublicKey,
Compute a blinded address