![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
#include <cstdint>#include <string>#include <vector>Go to the source code of this file.
Classes | |
| struct | bech32::DecodeResult |
Namespaces | |
| namespace | bech32 |
Enumerations | |
| enum class | bech32::Encoding { bech32::INVALID , bech32::BECH32 , bech32::BECH32M } |
| enum | bech32::CharLimit : size_t { bech32::BECH32 = 90 } |
| Character limits for Bech32(m) encoded strings. More... | |
Functions | |
| std::string | bech32::Encode (Encoding encoding, const std::string &hrp, const std::vector< uint8_t > &values) |
| Encode a Bech32 or Bech32m string. | |
| DecodeResult | bech32::Decode (const std::string &str, CharLimit limit) |
| Decode a Bech32 or Bech32m string. | |
| std::pair< std::string, std::vector< int > > | bech32::LocateErrors (const std::string &str, CharLimit limit) |
| Find index of an incorrect character in a Bech32 string. | |
Variables | |
| static constexpr size_t | bech32::CHECKSUM_SIZE = 6 |
| static constexpr char | bech32::SEPARATOR = '1' |