![]() |
Master Core
v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
|
Base class for all base58-encoded data. More...
#include <base58.h>
Inheritance diagram for CBase58Data:
Collaboration diagram for CBase58Data: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 |
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 |
| vector_uchar | vchData |
|
protected |
|
protected |
Definition at line 138 of file base58.cpp.
References vchData, and vchVersion.
| int CBase58Data::CompareTo | ( | const CBase58Data & | b58 | ) | const |
Definition at line 180 of file base58.cpp.
References vchData, and vchVersion.
Referenced by operator<(), operator<=(), operator==(), operator>(), and operator>=().
Here is the caller graph for this function:
|
inline |
Definition at line 91 of file base58.h.
References CompareTo().
Here is the call graph for this function:
|
inline |
Definition at line 89 of file base58.h.
References CompareTo().
Here is the call graph for this function:
|
inline |
Definition at line 88 of file base58.h.
References CompareTo().
Here is the call graph for this function:
|
inline |
Definition at line 92 of file base58.h.
References CompareTo().
Here is the call graph for this function:
|
inline |
Definition at line 90 of file base58.h.
References CompareTo().
Here is the call graph for this function:
|
protected |
Definition at line 143 of file base58.cpp.
References memcpy(), vchData, and vchVersion.
Referenced by CBitcoinAddress::Set(), SetData(), CBitcoinSecret::SetKey(), and CBitcoinExtKeyBase< K, Size, Type >::SetKey().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 150 of file base58.cpp.
References SetData().
Here is the call graph for this function:| bool CBase58Data::SetString | ( | const char * | psz, |
| unsigned int | nVersionBytes = 1 |
||
| ) |
Definition at line 154 of file base58.cpp.
References DecodeBase58Check(), memcpy(), vchData, and vchVersion.
Referenced by CBitcoinAddress::CBitcoinAddress(), mastercore::ClassB_send(), dumpprivkey(), SendMPDialog::sendMPTransaction(), SetString(), and CBitcoinSecret::SetString().
Here is the call graph for this function:
Here is the caller graph for this function:| bool CBase58Data::SetString | ( | const std::string & | str | ) |
Definition at line 170 of file base58.cpp.
References SetString().
Here is the call graph for this function:| std::string CBase58Data::ToString | ( | ) | const |
Definition at line 174 of file base58.cpp.
References EncodeBase58Check(), vchData, and vchVersion.
Referenced by addmultisigaddress(), createmultisig(), TransactionRecord::decomposeTransaction(), CWallet::DelAddressBook(), dumpprivkey(), dumpwallet(), getaccountaddress(), getaddressesbyaccount(), getnewaddress(), getrawchangeaddress(), WalletModel::listCoins(), ListReceived(), MaybePushAddress(), parseTransaction(), AddressTablePriv::refreshAddressTable(), msc_AddressTablePriv::refreshAddressTable(), selectCoins(), SendMPDialog::sendMPTransaction(), CoinControlDialog::updateView(), and validateaddress().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 76 of file base58.h.
Referenced by CBase58Data(), CompareTo(), CBitcoinAddress::Get(), CBitcoinSecret::GetKey(), CBitcoinExtKeyBase< K, Size, Type >::GetKey(), CBitcoinAddress::GetKeyID(), CBitcoinAddress::IsValid(), CBitcoinSecret::IsValid(), SetData(), CBitcoinSecret::SetKey(), SetString(), and ToString().
|
protected |
Definition at line 72 of file base58.h.
Referenced by CBase58Data(), CompareTo(), CBitcoinAddress::Get(), CBitcoinAddress::GetKeyID(), CBitcoinAddress::IsScript(), CBitcoinAddress::IsValid(), CBitcoinSecret::IsValid(), SetData(), SetString(), and ToString().
1.8.8