X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fnet.h;fp=src%2Fnet.h;h=fed6b4df1485f3f0c2b02cb51667eb82e3c8fd8e;hp=8600bed6b87967415b9868b854e7ed06829774fa;hb=e5b49385b8b449b0eeead6586c6fedb4ff4bd59d;hpb=87ce74e59b88c2a36aeeb2d0ddc01c8cc6e6b77b diff --git a/src/net.h b/src/net.h index 8600bed..fed6b4d 100644 --- a/src/net.h +++ b/src/net.h @@ -19,7 +19,6 @@ #include -class CRequestTracker; class CNode; class CBlockIndex; extern int nBestHeight; @@ -79,24 +78,6 @@ enum MSG_BLOCK }; -class CRequestTracker -{ -public: - void (*fn)(void*, CDataStream&); - void* param1; - - explicit CRequestTracker(void (*fnIn)(void*, CDataStream&)=NULL, void* param1In=NULL) - { - fn = fnIn; - param1 = param1In; - } - - bool IsNull() - { - return fn == NULL; - } -}; - /** Thread types */ enum threadId @@ -205,8 +186,6 @@ protected: public: int64_t nReleaseTime; - std::map mapRequests; - CCriticalSection cs_mapRequests; uint256 hashContinue; CBlockIndex* pindexLastGetBlocksBegin; uint256 hashLastGetBlocksEnd;