diff options
| author | Pieter Wuille <[email protected]> | 2014-04-27 23:34:02 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2014-06-21 19:47:39 +0200 |
| commit | 85aab2a08824a83a535e6dfee4c150b25ebaf9de (patch) | |
| tree | 9e577b5f1845dc0ce4c4d524447c8274ac663d8c /src/miner.h | |
| parent | Remove getwork() RPC call (diff) | |
| download | discoin-85aab2a08824a83a535e6dfee4c150b25ebaf9de.tar.xz discoin-85aab2a08824a83a535e6dfee4c150b25ebaf9de.zip | |
Switch miner.cpp to use sha2 instead of OpenSSL.
Diffstat (limited to 'src/miner.h')
| -rw-r--r-- | src/miner.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/miner.h b/src/miner.h index dcd61d8fd..1fa499dc5 100644 --- a/src/miner.h +++ b/src/miner.h @@ -23,12 +23,8 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn); CBlockTemplate* CreateNewBlockWithKey(CReserveKey& reservekey); /** Modify the extranonce in a block */ void IncrementExtraNonce(CBlock* pblock, CBlockIndex* pindexPrev, unsigned int& nExtraNonce); -/** Do mining precalculation */ -void FormatHashBuffers(CBlock* pblock, char* pmidstate, char* pdata, char* phash1); /** Check mined block */ bool CheckWork(CBlock* pblock, CWallet& wallet, CReserveKey& reservekey); -/** Base sha256 mining transform */ -void SHA256Transform(void* pstate, void* pinput, const void* pinit); extern double dHashesPerSec; extern int64_t nHPSTimerStart; |