Function coinaddress::validate_btc_address
[−]
[src]
pub fn validate_btc_address(addr: &str) -> Result<usize, ValidationError>
Validate bitcoin address checksum. Returns the hash version/type if correct and an error otherwise.