|
Equity
Bitcoin Protocol Library
|
A Bitcoin address. More...
#include <Address.h>
Public Member Functions | |
| Address (std::string const &s) | |
| Address (uint8_t const *data, size_t size) | |
| Address (Crypto::Ripemd160Hash const &k) | |
| Address (PublicKey const &publicKey) | |
| std::array< uint8_t, SIZE > | value () const |
| Returns the address in binary form. | |
| bool | valid () const |
| Returns true if the address is valid. | |
| std::string | toString (unsigned network) const |
| Returns the address in Base58Check form. | |
Static Public Attributes | |
| static size_t const | SIZE = Crypto::RIPEMD160_HASH_SIZE |
| Number of bytes in the unencoded binary form. | |
A Bitcoin address.
|
explicit |
| s | address in Base58Check form |
| Address::Address | ( | uint8_t const * | data, |
| size_t | size | ||
| ) |
| data | start of address in binary form |
| size | size of the data |
|
explicit |
| k | address in binary form |
|
explicit |
| publicKey | public key used to generate the address |
1.8.11