6#ifndef BITCOIN_KEY_IO_H
7#define BITCOIN_KEY_IO_H
CChainParams defines various tweakable parameters of a given instance of the Bitcoin system.
An encapsulated secp256k1 private key.
std::string EncodeDestination(const CTxDestination &dest, const Config &config)
bool IsValidDestinationString(const std::string &str, const CChainParams ¶ms)
CExtPubKey DecodeExtPubKey(const std::string &str)
std::string EncodeExtPubKey(const CExtPubKey &extpubkey)
std::string EncodeSecret(const CKey &key)
std::string EncodeExtKey(const CExtKey &extkey)
CKey DecodeSecret(const std::string &str)
CTxDestination DecodeDestination(const std::string &addr, const CChainParams &)
CTxDestination DecodeLegacyAddr(const std::string &str, const CChainParams ¶ms)
std::string EncodeLegacyAddr(const CTxDestination &dest, const CChainParams ¶ms)
CExtKey DecodeExtKey(const std::string &str)
std::variant< CNoDestination, PKHash, ScriptHash > CTxDestination
A txout script template with a specific destination.