diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-12-16 15:43:03 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-01-05 15:45:35 +0100 |
| commit | 734f85c4f0b40efd3f6c0367683c1bab1a2a7b19 (patch) | |
| tree | 664e41303a76e2154972af1347f18f4de3368473 /src/pow.h | |
| parent | String conversions uint256 -> uint256S (diff) | |
| download | discoin-734f85c4f0b40efd3f6c0367683c1bab1a2a7b19.tar.xz discoin-734f85c4f0b40efd3f6c0367683c1bab1a2a7b19.zip | |
Use arith_uint256 where necessary
Also add conversion from/to uint256 where needed.
Diffstat (limited to 'src/pow.h')
| -rw-r--r-- | src/pow.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -11,11 +11,12 @@ class CBlockHeader; class CBlockIndex; class uint256; +class arith_uint256; unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHeader *pblock); /** Check whether a block hash satisfies the proof-of-work requirement specified by nBits */ bool CheckProofOfWork(uint256 hash, unsigned int nBits); -uint256 GetBlockProof(const CBlockIndex& block); +arith_uint256 GetBlockProof(const CBlockIndex& block); #endif // BITCOIN_POW_H |