pub fn signed_msg_hash(msg: &str) -> sha256d::Hash {
    sha256d::Hash::hash(
        &[
            MSG_SIGN_PREFIX,
            &encode::serialize(&encode::VarInt(msg.len() as u64)),
            msg.as_bytes(),
        ]
        .concat(),
    )
}
/// Hash message for signature using Bitcoin's message signing format
Hash message for signature using Bitcoin's message signing format
Hash message for signature using Bitcoin ' s message signing format
pub fn signed_msg_hash(msg: &str) -> sha256d::Hash {
    sha256d::Hash::hash(
        &[
            MSG_SIGN_PREFIX,
            &encode::serialize(&encode::VarInt(msg.len() as u64)),
            msg.as_bytes(),
        ]
        .concat(),
    )
}
pub fn signed_msg_hash ( msg : & str ) -> sha256d :: Hash { sha256d :: Hash :: hash ( & [ MSG_SIGN_PREFIX , & encode :: serialize ( & encode :: VarInt ( msg . len ( ) as u64 ) ) , msg . as_bytes ( ) , ] . concat ( ) , ) }
Hash message for signature using Bitcoin's message signing format
Hash message for signature using Bitcoin ' s message signing format
msg
&str
msg
&str