Bitcoin ABC  0.24.7
P2P Digital Currency
Functions
cashaddrenc.cpp File Reference
#include <cashaddrenc.h>
#include <cashaddr.h>
#include <chainparams.h>
#include <pubkey.h>
#include <script/script.h>
#include <util/strencodings.h>
#include <boost/variant/static_visitor.hpp>
#include <algorithm>
Include dependency graph for cashaddrenc.cpp:

Go to the source code of this file.

Functions

std::string EncodeCashAddr (const CTxDestination &dst, const CChainParams &params)
 
std::string EncodeCashAddr (const std::string &prefix, const CashAddrContent &content)
 
CTxDestination DecodeCashAddr (const std::string &addr, const CChainParams &params)
 
CashAddrContent DecodeCashAddrContent (const std::string &addr, const std::string &expectedPrefix)
 
CTxDestination DecodeCashAddrDestination (const CashAddrContent &content)
 
std::vector< uint8_t > PackCashAddrContent (const CashAddrContent &content)
 

Function Documentation

◆ DecodeCashAddr()

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

Definition at line 102 of file cashaddrenc.cpp.

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

◆ DecodeCashAddrContent()

CashAddrContent DecodeCashAddrContent ( const std::string &  addr,
const std::string &  expectedPrefix 
)

Definition at line 113 of file cashaddrenc.cpp.

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

◆ DecodeCashAddrDestination()

CTxDestination DecodeCashAddrDestination ( const CashAddrContent content)

Definition at line 157 of file cashaddrenc.cpp.

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

◆ EncodeCashAddr() [1/2]

std::string EncodeCashAddr ( const CTxDestination dst,
const CChainParams params 
)

Definition at line 91 of file cashaddrenc.cpp.

Here is the caller graph for this function:

◆ EncodeCashAddr() [2/2]

std::string EncodeCashAddr ( const std::string &  prefix,
const CashAddrContent content 
)

Definition at line 96 of file cashaddrenc.cpp.

Here is the call graph for this function:

◆ PackCashAddrContent()

std::vector<uint8_t> PackCashAddrContent ( const CashAddrContent content)

Definition at line 178 of file cashaddrenc.cpp.