![]() |
Anoncoin
0.9.4
P2P Digital Currency
|
base58-encoded Anoncoin addresses. More...
#include <base58.h>
Public Member Functions | |
bool | Set (const CKeyID &id) |
bool | Set (const CScriptID &id) |
bool | Set (const CTxDestination &dest) |
bool | IsValid () const |
CAnoncoinAddress () | |
CAnoncoinAddress (const CTxDestination &dest) | |
CAnoncoinAddress (const std::string &strAddress) | |
CAnoncoinAddress (const char *pszAddress) | |
CTxDestination | Get () const |
bool | GetKeyID (CKeyID &keyID) const |
bool | IsScript () const |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
typedef std::vector< unsigned char, zero_after_free_allocator< unsigned char > > | vector_uchar |
![]() | |
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) |
![]() | |
std::vector< unsigned char > | vchVersion |
vector_uchar | vchData |
base58-encoded Anoncoin addresses.
Public-key-hash-addresses have version 0 (or 111 testnet). The data vector contains RIPEMD160(SHA256(pubkey)), where pubkey is the serialized public key. Script-hash-addresses have version 5 (or 196 testnet). The data vector contains RIPEMD160(SHA256(cscript)), where cscript is the serialized redemption script.
|
inline |
|
inline |
|
inline |
CTxDestination CAnoncoinAddress::Get | ( | ) | const |
Definition at line 223 of file base58.cpp.
bool CAnoncoinAddress::GetKeyID | ( | CKeyID & | keyID | ) | const |
Definition at line 236 of file base58.cpp.
bool CAnoncoinAddress::IsScript | ( | ) | const |
bool CAnoncoinAddress::IsValid | ( | ) | const |
Definition at line 216 of file base58.cpp.
bool CAnoncoinAddress::Set | ( | const CKeyID & | id | ) |
Definition at line 202 of file base58.cpp.
bool CAnoncoinAddress::Set | ( | const CScriptID & | id | ) |
bool CAnoncoinAddress::Set | ( | const CTxDestination & | dest | ) |
Definition at line 212 of file base58.cpp.