pub enum SignerId {
PkHash(Hash),
Fingerprint(Fingerprint),
Dummy(u64),
}
Expand description
Identifier of a signer in the SignersContainers
. Used as a key to find the right signer among
multiple of them
Variants§
PkHash(Hash)
Bitcoin HASH160 (RIPEMD160 after SHA256) hash of an ECDSA public key
Fingerprint(Fingerprint)
The fingerprint of a BIP32 extended key
Dummy(u64)
Dummy identifier
Trait Implementations§
source§impl From<Fingerprint> for SignerId
impl From<Fingerprint> for SignerId
source§fn from(fing: Fingerprint) -> SignerId
fn from(fing: Fingerprint) -> SignerId
Converts to this type from the input type.
source§impl Ord for SignerId
impl Ord for SignerId
source§impl PartialEq<SignerId> for SignerId
impl PartialEq<SignerId> for SignerId
source§impl PartialOrd<SignerId> for SignerId
impl PartialOrd<SignerId> for SignerId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more