![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <base58.h>
Public Member Functions | |
bool | SetString (const char *psz, unsigned int nVersionBytes=1) |
bool | SetString (const std::string &str) |
std::string | ToString () const |
int | CompareTo (const CBase58Data &b58) const |
bool | operator== (const CBase58Data &b58) const |
bool | operator<= (const CBase58Data &b58) const |
bool | operator>= (const CBase58Data &b58) const |
bool | operator< (const CBase58Data &b58) const |
bool | operator> (const CBase58Data &b58) const |
Protected Types | |
typedef std::vector< unsigned char, zero_after_free_allocator< unsigned char > > | vector_uchar |
the actually encoded data More... | |
Protected Member Functions | |
CBase58Data () | |
void | SetData (const std::vector< unsigned char > &vchVersionIn, const void *pdata, size_t nSize) |
void | SetData (const std::vector< unsigned char > &vchVersionIn, const unsigned char *pbegin, const unsigned char *pend) |
Protected Attributes | |
std::vector< unsigned char > | vchVersion |
the version byte(s) More... | |
vector_uchar | vchData |
|
protected |
|
protected |
Definition at line 152 of file base58.cpp.
int CBase58Data::CompareTo | ( | const CBase58Data & | b58 | ) | const |
Definition at line 200 of file base58.cpp.
Referenced by operator<(), operator<=(), operator==(), operator>(), and operator>=().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
Definition at line 158 of file base58.cpp.
Referenced by CBitcoinAddress::Set(), SetData(), CBitcoinSecret::SetKey(), and CBitcoinExtKeyBase< K, Size, Type >::SetKey().
|
protected |
Definition at line 166 of file base58.cpp.
bool CBase58Data::SetString | ( | const char * | psz, |
unsigned int | nVersionBytes = 1 |
||
) |
Definition at line 171 of file base58.cpp.
Referenced by CBitcoinAddress::CBitcoinAddress(), CBitcoinExtKeyBase< K, Size, Type >::CBitcoinExtKeyBase(), dumpprivkey(), SetString(), and CBitcoinSecret::SetString().
bool CBase58Data::SetString | ( | const std::string & | str | ) |
Definition at line 188 of file base58.cpp.
std::string CBase58Data::ToString | ( | ) | const |
Definition at line 193 of file base58.cpp.
Referenced by addmultisigaddress(), CGovernancePayment::CGovernancePayment(), CMasternodePayments::CheckPreviousBlockVotes(), createmultisig(), CSuperblockManager::CreateSuperblock(), CHDChain::Debug(), TransactionRecord::decomposeTransaction(), CWallet::DelAddressBook(), dumpprivkey(), dumpwallet(), CMasternodePayments::FillBlockPayee(), getaccountaddress(), getaddressesbyaccount(), getAddressFromIndex(), getblocktemplate(), getnewaddress(), getrawchangeaddress(), CSuperblockManager::GetRequiredPaymentsString(), CSuperblock::IsValid(), ListReceived(), CWallet::LoadCScript(), masternode(), masternodelist(), MaybePushAddress(), CSuperblock::ParsePaymentSchedule(), CMasternodePayments::ProcessBlock(), CMasternodePayments::ProcessMessage(), AddressTablePriv::refreshAddressTable(), CWallet::SelectCoinsGrouppedByAddresses(), TxToJSON(), and validateaddress().
|
protected |
Definition at line 79 of file base58.h.
Referenced by CBase58Data(), CompareTo(), CBitcoinAddress::Get(), CBitcoinAddress::GetIndexKey(), CBitcoinSecret::GetKey(), CBitcoinExtKeyBase< K, Size, Type >::GetKey(), CBitcoinAddress::GetKeyID(), CBitcoinAddress::IsValid(), CBitcoinSecret::IsValid(), SetData(), CBitcoinSecret::SetKey(), SetString(), and ToString().
|
protected |
the version byte(s)
Definition at line 75 of file base58.h.
Referenced by CBase58Data(), CompareTo(), CBitcoinAddress::Get(), CBitcoinAddress::GetIndexKey(), CBitcoinAddress::GetKeyID(), CBitcoinAddress::IsScript(), CBitcoinAddress::IsValid(), CBitcoinSecret::IsValid(), SetData(), SetString(), and ToString().