hdac SDK
SDK for hdac blockchain development
|
#include <bitcoinaddress.h>
Public 멤버 함수 | |
bool | Set (const CKeyID &id) |
bool | Set (const CKeyID &id, const std::vector< unsigned char > &vchVersion) |
bool | Set (const CScriptID &id) |
bool | Set (const CTxDestination &dest) |
bool | IsValid () const |
bool | IsValid (const std::vector< unsigned char > &pubkeyPrefix, const std::vector< unsigned char > &scriptPrefix) const |
CBitcoinAddress (const IWalletAddrHelper &helper) | |
CBitcoinAddress (const CTxDestination &dest, const IWalletAddrHelper &helper) | |
CBitcoinAddress (const std::string &strAddress, const IWalletAddrHelper &helper) | |
CBitcoinAddress (const char *pszAddress, const IWalletAddrHelper &helper) | |
CTxDestination | Get () const |
bool | GetKeyID (CKeyID &keyID) const |
bool | GetScriptID (CScriptID &scriptID) const |
bool | IsScript () const |
![]() | |
bool | SetString (const char *psz, unsigned int nVersionBytes=1) |
bool | SetString (const std::string &str, unsigned int pubkeyAddressSize) |
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 |
Public 속성 | |
const std::vector< unsigned char > | _pubkeyPrefix |
const std::vector< unsigned char > | _scriptPrefix |
추가로 상속된 멤버들 | |
![]() | |
typedef std::vector< unsigned char, zero_after_free_allocator< unsigned char > > | vector_uchar |
the actually encoded data | |
![]() | |
CBase58Data (int32_t checksumValue) | |
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 |
the version byte(s) | |
vector_uchar | vchData |
base58-encoded Bitcoin 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.