Enum coinaddress::ValidationError
[−]
[src]
pub enum ValidationError { TooShort, InvalidEncoding, HashMismatch, NotBitcoin, NotLitecoin, }
Variants
TooShort
Given address is too short to be valid
InvalidEncoding
Encoding is not a valid base58
HashMismatch
Computed hash does not match the embedded one
NotBitcoin
This address is not a bitcoin address (testnet or real). May happen when attempting to validate btc address
NotLitecoin
This address is not a litecoin address. May happen when attempting to validate ltc address