5 #include <chainparams.h>
22 const std::string random_string(buffer.begin(), buffer.end());
void SelectParams(const std::string &network)
Sets the params returned by Params() to those for the given chain name.
static const std::string MAIN
Chain name strings.
An encapsulated private key.
unsigned int size() const
Simple read-only vector-like interface.
bool IsValid() const
Check whether this private key is valid.
static constexpr unsigned int COMPRESSED_SIZE
unsigned int size() const
Simple read-only vector-like interface to the pubkey data.
std::string EncodeExtKey(const CExtKey &key)
CExtPubKey DecodeExtPubKey(const std::string &str)
std::string EncodeSecret(const CKey &key)
CKey DecodeSecret(const std::string &str)
std::string EncodeExtPubKey(const CExtPubKey &key)
CExtKey DecodeExtKey(const std::string &str)
FUZZ_TARGET_INIT(key_io, initialize_key_io)