Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
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 <algorithm>
#include <variant>
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_tPackCashAddrContent (const CashAddrContent &content)
 

Function Documentation

◆ DecodeCashAddr()

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

Definition at line 101 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 112 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 154 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 90 of file cashaddrenc.cpp.

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

◆ EncodeCashAddr() [2/2]

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

Definition at line 95 of file cashaddrenc.cpp.

Here is the call graph for this function:

◆ PackCashAddrContent()

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

Definition at line 175 of file cashaddrenc.cpp.

Here is the call graph for this function: