X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fminer.h;fp=src%2Fminer.h;h=7f5815a02fe58a82d9a8d717c2540f8b1837a0f4;hb=536e0dc9790c2befde5702b4da82d70bf6406f30;hp=40167af9b617c7179aba5acb034dd2a47b6ca35b;hpb=be4ff3d01621d46cabcc6d65a13d911391cee821;p=novacoin.git diff --git a/src/miner.h b/src/miner.h index 40167af..7f5815a 100644 --- a/src/miner.h +++ b/src/miner.h @@ -6,12 +6,16 @@ #ifndef NOVACOIN_MINER_H #define NOVACOIN_MINER_H -#include "main.h" -#include "wallet.h" #include +class CBlock; +class CBlockIndex; +class CTransaction; +class CReserveKey; +class CWallet; + /* Generate a new block, without valid proof-of-work/with provided proof-of-stake */ -std::shared_ptr CreateNewBlock(CWallet* pwallet, CTransaction *txAdd=NULL); +std::shared_ptr CreateNewBlock(CWallet* pwallet, CTransaction *txAdd=nullptr); /** Modify the extranonce in a block */ void IncrementExtraNonce(std::shared_ptr& pblock, CBlockIndex* pindexPrev, unsigned int& nExtraNonce);