Module checksum

Source
Expand description

Descriptor checksum

This module contains a re-implementation of the function used by Bitcoin Core to calculate the checksum of a descriptor. The checksum algorithm is specified in BIP-380.

Re-exports§

pub use crate::expression::VALID_CHARS;

Structs§

Engine
An engine to compute a checksum from a string.
Formatter
A wrapper around a fmt::Formatter which provides checksumming ability.

Functions§

desc_checksum
Compute the checksum of a descriptor.