Bitcoin ABC 0.30.5
P2P Digital Currency
Classes | Enumerations | Functions
cashaddrenc.h File Reference
#include <script/standard.h>
#include <string>
#include <vector>
Include dependency graph for cashaddrenc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CashAddrContent
 

Enumerations

enum  CashAddrType : uint8_t { PUBKEY_TYPE = 0 , SCRIPT_TYPE = 1 }
 

Functions

std::string EncodeCashAddr (const CTxDestination &, const CChainParams &)
 
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 &prefix)
 
CTxDestination DecodeCashAddrDestination (const CashAddrContent &content)
 
std::vector< uint8_t > PackCashAddrContent (const CashAddrContent &content)
 

Enumeration Type Documentation

◆ CashAddrType

enum CashAddrType : uint8_t
Enumerator
PUBKEY_TYPE 
SCRIPT_TYPE 

Definition at line 14 of file cashaddrenc.h.

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 &  prefix 
)

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 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.