X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fmain.h;h=22035989653f0da818fbc3e63e9f733f81a15973;hp=35580d469d26f38633d8ff53813c2b630915bbe1;hb=b3a022069bb4209f07eff94e1b1e075c1182bc79;hpb=71a5b227b8df18889aef08b9d0064edc2fb94479 diff --git a/src/main.h b/src/main.h index 35580d4..2203598 100644 --- a/src/main.h +++ b/src/main.h @@ -95,7 +95,7 @@ void PrintBlockTree(); bool ProcessMessages(CNode* pfrom); bool SendMessages(CNode* pto, bool fSendTrickle); void GenerateBitcoins(bool fGenerate, CWallet* pwallet); -CBlock* CreateNewBlock(CReserveKey& reservekey, CWallet* pwallet); +CBlock* CreateNewBlock(CWallet* pwallet); void IncrementExtraNonce(CBlock* pblock, CBlockIndex* pindexPrev, unsigned int& nExtraNonce); void FormatHashBuffers(CBlock* pblock, char* pmidstate, char* pdata, char* phash1); bool CheckWork(CBlock* pblock, CWallet& wallet, CReserveKey& reservekey); @@ -665,7 +665,7 @@ protected: bool AddToMemoryPoolUnchecked(); public: bool RemoveFromMemoryPool(); - bool GetCoinAge(uint64& nCoinAge) const; // ppcoin: get transaction coin age + bool GetCoinAge(CTxDB& txdb, uint64& nCoinAge) const; // ppcoin: get transaction coin age };