Dash Core  0.12.2.1
P2P Digital Currency
uint160 Class Reference

#include <uint256.h>

+ Inheritance diagram for uint160:

Public Member Functions

 uint160 ()
 
 uint160 (const base_blob< 160 > &b)
 
 uint160 (const std::vector< unsigned char > &vch)
 
- Public Member Functions inherited from base_blob< 160 >
 base_blob ()
 
 base_blob (const std::vector< unsigned char > &vch)
 
bool IsNull () const
 
void SetNull ()
 
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
 
unsigned int GetSerializeSize (int nType, int nVersion) const
 
void Serialize (Stream &s, int nType, int nVersion) const
 
void Unserialize (Stream &s, int nType, int nVersion)
 

Additional Inherited Members

- Protected Types inherited from base_blob< 160 >
enum  
 
- Protected Attributes inherited from base_blob< 160 >
uint8_t data [WIDTH]
 

Detailed Description

160-bit opaque blob.

Note
This type is called uint160 for historical reasons only. It is an opaque blob of 160 bits and has no integer operations.

Definition at line 102 of file uint256.h.

Constructor & Destructor Documentation

◆ uint160() [1/3]

uint160::uint160 ( )
inline

Definition at line 104 of file uint256.h.

◆ uint160() [2/3]

uint160::uint160 ( const base_blob< 160 > &  b)
inline

Definition at line 105 of file uint256.h.

◆ uint160() [3/3]

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

Definition at line 106 of file uint256.h.


The documentation for this class was generated from the following file: