Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Functions
key_io.cpp File Reference
#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>
Include dependency graph for key_io.cpp:

Go to the source code of this file.

Functions

CKey DecodeSecret (const std::string &str)
 
CKey DecodeSecret (const std::string &str, const CChainParams &params)
 
std::string EncodeSecret (const CKey &key)
 
std::string EncodeSecret (const CKey &key, const CChainParams &params)
 
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 &params)
 
bool IsValidDestinationString (const std::string &str, const CChainParams &params)
 
std::string EncodeLegacyAddr (const CTxDestination &dest, const CChainParams &params)
 
CTxDestination DecodeLegacyAddr (const std::string &str, const CChainParams &params)
 

Function Documentation

◆ DecodeDestination()

CTxDestination DecodeDestination ( const std::string &  addr,
const CChainParams params 
)

Definition at line 174 of file key_io.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DecodeExtKey()

CExtKey DecodeExtKey ( const std::string &  str)

Definition at line 142 of file key_io.cpp.

Here is the call graph for this function:

◆ DecodeExtPubKey()

CExtPubKey DecodeExtPubKey ( const std::string &  str)

Definition at line 118 of file key_io.cpp.

Here is the call graph for this function:

◆ DecodeLegacyAddr()

CTxDestination DecodeLegacyAddr ( const std::string &  str,
const CChainParams params 
)

Definition at line 193 of file key_io.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DecodeSecret() [1/2]

CKey DecodeSecret ( const std::string &  str)

Definition at line 77 of file key_io.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DecodeSecret() [2/2]

CKey DecodeSecret ( const std::string &  str,
const CChainParams params 
)

Definition at line 81 of file key_io.cpp.

Here is the call graph for this function:

◆ EncodeDestination()

std::string EncodeDestination ( const CTxDestination dest,
const Config config 
)

Definition at line 167 of file key_io.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EncodeExtKey()

std::string EncodeExtKey ( const CExtKey key)

Definition at line 156 of file key_io.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EncodeExtPubKey()

std::string EncodeExtPubKey ( const CExtPubKey key)

Definition at line 132 of file key_io.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EncodeLegacyAddr()

std::string EncodeLegacyAddr ( const CTxDestination dest,
const CChainParams params 
)

Definition at line 188 of file key_io.cpp.

Here is the caller graph for this function:

◆ EncodeSecret() [1/2]

std::string EncodeSecret ( const CKey key)

Definition at line 102 of file key_io.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EncodeSecret() [2/2]

std::string EncodeSecret ( const CKey key,
const CChainParams params 
)

Definition at line 106 of file key_io.cpp.

Here is the call graph for this function:

◆ IsValidDestinationString()

bool IsValidDestinationString ( const std::string &  str,
const CChainParams params 
)

Definition at line 183 of file key_io.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: