[−][src]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
[src]
The associated Hash type with the publicKey
Required methods
pub fn to_pubkeyhash(&self) -> Self::Hash
[src]
Converts an object to PublicHash
Provided methods
pub fn is_uncompressed(&self) -> bool
[src]
Check if the publicKey is uncompressed. The default implementation returns false
Implementations on Foreign Types
impl MiniscriptKey for String
[src]
type Hash = String
pub fn to_pubkeyhash(&self) -> <String as MiniscriptKey>::Hash
[src]
impl MiniscriptKey for PublicKey
[src]
pub fn is_uncompressed(&self) -> bool
[src]
is_uncompressed
returns true only for
bitcoin::Publickey type if the underlying key is uncompressed.