PIVX Core  5.6.99
P2P Digital Currency
Classes | Namespaces | Functions | Variables
uint256.h File Reference
#include "crypto/common.h"
#include <assert.h>
#include <cstring>
#include <stdexcept>
#include <stdint.h>
#include <string>
#include <vector>
Include dependency graph for uint256.h:

Go to the source code of this file.

Classes

class  base_blob< BITS >
 Template base class for fixed-sized opaque blobs. More...
 
class  blob88
 88-bit opaque blob. More...
 
class  uint160
 160-bit opaque blob. More...
 
class  uint256
 256-bit opaque blob. More...
 
class  uint512
 512-bit opaque blob. More...
 
struct  std::hash< uint256 >
 

Namespaces

 std
 

Functions

uint256 uint256S (const char *str)
 
uint256 uint256S (const std::string &str)
 
uint512 uint512S (const char *str)
 
uint512 uint512S (const std::string &str)
 

Variables

const uint256 UINT256_ZERO = uint256()
 constant uint256 instances More...
 
const uint256 UINT256_ONE = uint256S("0000000000000000000000000000000000000000000000000000000000000001")
 
const uint256 UINT256_MAX = uint256S("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")
 

Function Documentation

◆ uint256S() [1/2]

uint256 uint256S ( const char *  str)
inline

Definition at line 157 of file uint256.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ uint256S() [2/2]

uint256 uint256S ( const std::string &  str)
inline

Definition at line 167 of file uint256.h.

Here is the call graph for this function:

◆ uint512S() [1/2]

uint512 uint512S ( const char *  str)
inline

Definition at line 195 of file uint256.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ uint512S() [2/2]

uint512 uint512S ( const std::string &  str)
inline

Definition at line 205 of file uint256.h.

Here is the call graph for this function:

Variable Documentation

◆ UINT256_MAX

const uint256 UINT256_MAX = uint256S("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff")

Definition at line 177 of file uint256.h.

◆ UINT256_ONE

const uint256 UINT256_ONE = uint256S("0000000000000000000000000000000000000000000000000000000000000001")

Definition at line 176 of file uint256.h.

◆ UINT256_ZERO

const uint256 UINT256_ZERO = uint256()

constant uint256 instances

Definition at line 175 of file uint256.h.