6#ifndef BITCOIN_CASHADDR_H
7#define BITCOIN_CASHADDR_H
21 const std::vector<uint8_t> &values);
26std::pair<std::string, std::vector<uint8_t>>
std::pair< std::string, data > Decode(const std::string &str, const std::string &default_prefix)
Decode a cashaddr string.
std::string Encode(const std::string &prefix, const data &payload)
Encode a cashaddr string.
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...