[−]Trait bdk::descriptor::MiniscriptKey
Public key trait which can be converted to Hash type
Associated Types
type Hash: Clone + Eq + Ord + Debug + Display + Hash + FromStr
The associated Hash type with the publicKey
Required methods
fn to_pubkeyhash(&self) -> Self::Hash
Converts an object to PublicHash
Provided methods
fn is_uncompressed(&self) -> bool
Check if the publicKey is uncompressed. The default implementation returns false
Implementations on Foreign Types
impl MiniscriptKey for PublicKey
fn is_uncompressed(&self) -> bool
is_uncompressed
returns true only for
bitcoin::Publickey type if the underlying key is uncompressed.