Function coinaddress::validate_btc_address [] [src]

pub fn validate_btc_address(addr: &str) -> Result<usizeValidationError>

Validate bitcoin address checksum. Returns the hash version/type if correct and an error otherwise.