Trait block::FromKey
[−]
[src]
pub trait FromKey: Sized { fn from_public_key(key: &PublicKey) -> Self; fn from_secret_key(key: &SecretKey) -> Result<Self, Error>; }