diff options
| author | Wladimir J. van der Laan <[email protected]> | 2015-01-02 17:27:18 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-01-02 17:30:00 +0100 |
| commit | 269d8ba0d24eb9a35c8c9e4995eccedfb723717b (patch) | |
| tree | 388b27a434dd86045fb6abdedfdda9f4039270ad /src/miner.h | |
| parent | Merge pull request #5569 (diff) | |
| download | discoin-269d8ba0d24eb9a35c8c9e4995eccedfb723717b.tar.xz discoin-269d8ba0d24eb9a35c8c9e4995eccedfb723717b.zip | |
Remove declaration of no longer existent CheckWork
Also make ProcessBlockFound static as it is not used outside
miner.cpp.
Alternative implementation of #5549.
Diffstat (limited to 'src/miner.h')
| -rw-r--r-- | src/miner.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/miner.h b/src/miner.h index 02dedb171..3c08b030f 100644 --- a/src/miner.h +++ b/src/miner.h @@ -24,8 +24,6 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn); CBlockTemplate* CreateNewBlockWithKey(CReserveKey& reservekey); /** Modify the extranonce in a block */ void IncrementExtraNonce(CBlock* pblock, CBlockIndex* pindexPrev, unsigned int& nExtraNonce); -/** Check mined block */ -bool CheckWork(CBlock* pblock, CWallet& wallet, CReserveKey& reservekey); void UpdateTime(CBlockHeader* block, const CBlockIndex* pindexPrev); extern double dHashesPerSec; |