is_valid_message

Function is_valid_message 

Source
pub fn is_valid_message(
    network: Network,
    msg: &[u8],
) -> Result<(), ValidationError>
Expand description

validates if slice of bytes follow rules set by the protocol implementing in the crate