Bitcoin Core  27.99.0
P2P Digital Currency
Classes | Namespaces | Enumerations | Functions
bech32.h File Reference
#include <stdint.h>
#include <string>
#include <vector>
Include dependency graph for bech32.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bech32::DecodeResult
 

Namespaces

 bech32
 

Enumerations

enum class  bech32::Encoding { bech32::INVALID , bech32::BECH32 , bech32::BECH32M }
 

Functions

std::string bech32::Encode (Encoding encoding, const std::string &hrp, const std::vector< uint8_t > &values)
 Encode a Bech32 or Bech32m string. More...
 
DecodeResult bech32::Decode (const std::string &str)
 Decode a Bech32 or Bech32m string. More...
 
std::pair< std::string, std::vector< int > > bech32::LocateErrors (const std::string &str)
 Find index of an incorrect character in a Bech32 string. More...