Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
#include <arith_uint256.h>
#include <uint256.h>
#include <utilstrencodings.h>
#include <crypto/common.h>
#include <stdio.h>
#include <string.h>
Go to the source code of this file.
Functions | |
uint256 | ArithToUint256 (const arith_uint256 &a) |
arith_uint256 | UintToArith256 (const uint256 &a) |
Function Documentation
◆ ArithToUint256()
uint256 ArithToUint256 | ( | const arith_uint256 & | a | ) |
Definition at line 249 of file arith_uint256.cpp.
References base_blob< BITS >::begin(), base_uint< BITS >::pn, base_uint< BITS >::WIDTH, and WriteLE32().
Referenced by base_uint< 256 >::GetHex().
◆ UintToArith256()
arith_uint256 UintToArith256 | ( | const uint256 & | a | ) |
Definition at line 256 of file arith_uint256.cpp.
References base_blob< BITS >::begin(), base_uint< BITS >::pn, ReadLE32(), and base_uint< BITS >::WIDTH.
Referenced by AppInitParameterInteraction(), CalculateNextWorkRequired(), CDeterministicMNList::CalculateScores(), CheckProofOfWork(), DarkGravityWave(), FindDevNetGenesisBlock(), GetNextWorkRequired(), GetNextWorkRequiredBTC(), CSuperblock::GetPaymentsLimit(), KimotoGravityWell(), sortProposalsByVotes::operator()(), and base_uint< 256 >::SetHex().