BSHA3  0.17.99
P2P Blockchain, based on Bitcoin
Functions
key_io.cpp File Reference
#include <key_io.h>
#include <base58.h>
#include <bech32.h>
#include <script/script.h>
#include <utilstrencodings.h>
#include <boost/variant/apply_visitor.hpp>
#include <boost/variant/static_visitor.hpp>
#include <assert.h>
#include <string.h>
#include <algorithm>
Include dependency graph for key_io.cpp:

Go to the source code of this file.

Functions

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

Function Documentation

◆ DecodeDestination()

CTxDestination DecodeDestination ( const std::string &  str)

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

Here is the call graph for this function:

◆ DecodeExtPubKey()

CExtPubKey DecodeExtPubKey ( const std::string &  str)

Definition at line 162 of file key_io.cpp.

Here is the call graph for this function:

◆ DecodeSecret()

CKey DecodeSecret ( const std::string &  str)

Definition at line 133 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 209 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 198 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 175 of file key_io.cpp.

Here is the call graph for this function:

◆ EncodeSecret()

std::string EncodeSecret ( const CKey key)

Definition at line 149 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,
const CChainParams params 
)

Definition at line 219 of file key_io.cpp.

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

◆ IsValidDestinationString() [2/2]

bool IsValidDestinationString ( const std::string &  str)

Definition at line 224 of file key_io.cpp.

Here is the call graph for this function: