pub const MAX_STRING_LENGTH: usize = 90;
Expand description

The maximum enforced string length of a segwit address.

The maximum length as specified in BIP-173, this is less than the 1023 character code length. This limit is based on empirical error-correcting properties. See “Checksum design” section.