Bitcoin ABC 0.26.3
P2P Digital Currency
|
#include <key_io.h>
#include <base58.h>
#include <cashaddrenc.h>
#include <chainparams.h>
#include <config.h>
#include <util/strencodings.h>
#include <algorithm>
#include <cassert>
#include <cstring>
Go to the source code of this file.
Functions | |
CKey | DecodeSecret (const std::string &str) |
CKey | DecodeSecret (const std::string &str, const CChainParams ¶ms) |
std::string | EncodeSecret (const CKey &key) |
std::string | EncodeSecret (const CKey &key, const CChainParams ¶ms) |
CExtPubKey | DecodeExtPubKey (const std::string &str) |
std::string | EncodeExtPubKey (const CExtPubKey &key) |
CExtKey | DecodeExtKey (const std::string &str) |
std::string | EncodeExtKey (const CExtKey &key) |
std::string | EncodeDestination (const CTxDestination &dest, const Config &config) |
CTxDestination | DecodeDestination (const std::string &addr, const CChainParams ¶ms) |
bool | IsValidDestinationString (const std::string &str, const CChainParams ¶ms) |
std::string | EncodeLegacyAddr (const CTxDestination &dest, const CChainParams ¶ms) |
CTxDestination | DecodeLegacyAddr (const std::string &str, const CChainParams ¶ms) |
CTxDestination DecodeDestination | ( | const std::string & | addr, |
const CChainParams & | params | ||
) |
Definition at line 174 of file key_io.cpp.
CExtKey DecodeExtKey | ( | const std::string & | str | ) |
CExtPubKey DecodeExtPubKey | ( | const std::string & | str | ) |
CTxDestination DecodeLegacyAddr | ( | const std::string & | str, |
const CChainParams & | params | ||
) |
Definition at line 193 of file key_io.cpp.
CKey DecodeSecret | ( | const std::string & | str | ) |
Definition at line 77 of file key_io.cpp.
CKey DecodeSecret | ( | const std::string & | str, |
const CChainParams & | params | ||
) |
std::string EncodeDestination | ( | const CTxDestination & | dest, |
const Config & | config | ||
) |
Definition at line 167 of file key_io.cpp.
std::string EncodeExtKey | ( | const CExtKey & | key | ) |
Definition at line 156 of file key_io.cpp.
std::string EncodeExtPubKey | ( | const CExtPubKey & | key | ) |
Definition at line 132 of file key_io.cpp.
std::string EncodeLegacyAddr | ( | const CTxDestination & | dest, |
const CChainParams & | params | ||
) |
std::string EncodeSecret | ( | const CKey & | key | ) |
Definition at line 102 of file key_io.cpp.
std::string EncodeSecret | ( | const CKey & | key, |
const CChainParams & | params | ||
) |
bool IsValidDestinationString | ( | const std::string & | str, |
const CChainParams & | params | ||
) |
Definition at line 183 of file key_io.cpp.