Function bitcoins::enc::bases::encode_bech32 [−][src]
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.