pub fn encode_check_to_fmt(fmt: &mut Formatter<'_>, data: &[u8]) -> Result
Expand description

Encodes a slice as base58, including the checksum, into a formatter.

The checksum is the first four bytes of the sha256d of the data, concatenated onto the end.