 |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
Go to the documentation of this file.
10 #define PRCY_UINT256_H
67 uint256&
SetCompact(uint32_t nCompact,
bool* pfNegative =
nullptr,
bool* pfOverflow =
nullptr);
68 uint32_t
GetCompact(
bool fNegative =
false)
const;
132 #endif // PRCY_UINT256_H
const uint256 UINT256_ZERO
constant uint256 instances
uint512(const std::string &str)
uint160(const std::vector< unsigned char > &vch)
512-bit unsigned big integer.
256-bit unsigned big integer.
uint256 & SetCompact(uint32_t nCompact, bool *pfNegative=nullptr, bool *pfOverflow=nullptr)
The "compact" format is a representation of a whole number N using an unsigned 32bit number similar t...
uint512 ArithToUint512(const arith_uint512 &)
uint160(const base_uint< 160 > &b)
uint32_t GetCompact(bool fNegative=false) const
uint512(const std::vector< unsigned char > &vch)
arith_uint512 UintToArith512(const uint512 &)
uint256 ArithToUint256(const arith_uint256 &)
const uint256 UINT256_ONE
256-bit unsigned big integer.
uint256 uint256S(const char *str)
uint64_t GetHash(const uint256 &salt) const
void SetHex(const char *psz)
arith_uint256 UintToArith256(const uint256 &)
Template base class for unsigned big integers.
uint256(const std::string &str)
160-bit unsigned big integer.
uint160(const std::string &str)
friend arith_uint512 UintToArith512(const uint512 &a)
friend uint512 ArithToUint512(const arith_uint512 &a)
uint256(const std::vector< unsigned char > &vch)
512-bit unsigned big integer.
uint512(const base_uint< 512 > &b)
uint512 uint512S(const std::string &str)
uint256(const base_uint< 256 > &b)