Bitcoin Core  27.99.0
P2P Digital Currency
Functions
key_io.h File Reference
#include <addresstype.h>
#include <chainparams.h>
#include <key.h>
#include <pubkey.h>
#include <string>
Include dependency graph for key_io.h:

Go to the source code of this file.

Functions

CKey DecodeSecret (const std::string &str)
 
std::string EncodeSecret (const CKey &key)
 
CExtKey DecodeExtKey (const std::string &str)
 
std::string EncodeExtKey (const CExtKey &extkey)
 
CExtPubKey DecodeExtPubKey (const std::string &str)
 
std::string EncodeExtPubKey (const CExtPubKey &extpubkey)
 
std::string EncodeDestination (const CTxDestination &dest)
 
CTxDestination DecodeDestination (const std::string &str)
 
CTxDestination DecodeDestination (const std::string &str, std::string &error_msg, std::vector< int > *error_locations=nullptr)
 
bool IsValidDestinationString (const std::string &str)
 
bool IsValidDestinationString (const std::string &str, const CChainParams &params)
 

Function Documentation

◆ DecodeDestination() [1/2]

CTxDestination DecodeDestination ( const std::string &  str)

Definition at line 297 of file key_io.cpp.

Here is the call graph for this function:

◆ DecodeDestination() [2/2]

CTxDestination DecodeDestination ( const std::string &  str,
std::string &  error_msg,
std::vector< int > *  error_locations = nullptr 
)

Definition at line 292 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 263 of file key_io.cpp.

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

◆ DecodeExtPubKey()

CExtPubKey DecodeExtPubKey ( const std::string &  str)

Definition at line 240 of file key_io.cpp.

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

◆ DecodeSecret()

CKey DecodeSecret ( const std::string &  str)

Definition at line 209 of file key_io.cpp.

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

◆ EncodeDestination()

std::string EncodeDestination ( const CTxDestination dest)

Definition at line 287 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 extkey)

Definition at line 276 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 extpubkey)

Definition at line 253 of file key_io.cpp.

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

◆ EncodeSecret()

std::string EncodeSecret ( const CKey key)

Definition at line 227 of file key_io.cpp.

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

◆ IsValidDestinationString() [1/2]

bool IsValidDestinationString ( const std::string &  str)

Definition at line 309 of file key_io.cpp.

Here is the call graph for this function:

◆ IsValidDestinationString() [2/2]

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

Definition at line 303 of file key_io.cpp.

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