![]() |
Bitcoin Core 22.99.0
P2P Digital Currency
|
256-bit opaque blob. More...
#include <uint256.h>
Public Member Functions | |
| constexpr | uint256 () |
| constexpr | uint256 (uint8_t v) |
| uint256 (const std::vector< unsigned char > &vch) | |
Public Member Functions inherited from base_blob< 256 > | |
| constexpr | base_blob () |
| constexpr | base_blob (uint8_t v) |
| base_blob (const std::vector< unsigned char > &vch) | |
| bool | IsNull () const |
| void | SetNull () |
| int | Compare (const base_blob &other) const |
| std::string | GetHex () const |
| void | SetHex (const char *psz) |
| void | SetHex (const std::string &str) |
| std::string | ToString () const |
| const unsigned char * | data () const |
| unsigned char * | data () |
| unsigned char * | begin () |
| const unsigned char * | begin () const |
| unsigned char * | end () |
| const unsigned char * | end () const |
| uint64_t | GetUint64 (int pos) const |
| void | Serialize (Stream &s) const |
| void | Unserialize (Stream &s) |
Static Public Attributes | |
| static const uint256 | ZERO |
| static const uint256 | ONE |
Additional Inherited Members | |
Static Public Member Functions inherited from base_blob< 256 > | |
| static constexpr unsigned int | size () |
Protected Attributes inherited from base_blob< 256 > | |
| uint8_t | m_data [WIDTH] |
Static Protected Attributes inherited from base_blob< 256 > | |
| static constexpr int | WIDTH |
256-bit opaque blob.
|
inlineexplicitconstexpr |
|
inlineexplicit |