Function handshakes::prelude::bases::encode_bech32
source · [−]Expand description
Encode a byte vector to bech32. This function expects v
to be a witness program, and will
return an UnknownScriptType
if it does not meet the witness program format.