Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

uint512 Class Reference

512-bit unsigned big integer. More...

#include <uint256.h>

+ Inheritance diagram for uint512:
+ Collaboration diagram for uint512:

Public Member Functions

 uint512 ()
 
 uint512 (const base_blob< 512 > &b)
 
 uint512 (const std::vector< unsigned char > &vch)
 
uint256 trim256 () const
 
- Public Member Functions inherited from base_blob< 512 >
 base_blob ()
 
 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
 
unsigned char * begin ()
 
const unsigned char * begin () const
 
unsigned char * end ()
 
const unsigned char * end () const
 
unsigned int size () const
 
uint64_t GetUint64 (int pos) const
 
void Serialize (Stream &s) const
 
void Unserialize (Stream &s)
 

Additional Inherited Members

- Protected Attributes inherited from base_blob< 512 >
uint8_t data [WIDTH]
 
- Static Protected Attributes inherited from base_blob< 512 >
static constexpr int WIDTH
 

Detailed Description

512-bit unsigned big integer.

Definition at line 161 of file uint256.h.

Constructor & Destructor Documentation

◆ uint512() [1/3]

uint512::uint512 ( )
inline

Definition at line 163 of file uint256.h.

◆ uint512() [2/3]

uint512::uint512 ( const base_blob< 512 > &  b)
inline

Definition at line 164 of file uint256.h.

◆ uint512() [3/3]

uint512::uint512 ( const std::vector< unsigned char > &  vch)
inlineexplicit

Definition at line 165 of file uint256.h.

Member Function Documentation

◆ trim256()

uint256 uint512::trim256 ( ) const
inline

Definition at line 167 of file uint256.h.

References base_blob< 512 >::data, and memcpy().

Referenced by HashX11().


The documentation for this class was generated from the following file:
Released under the MIT license