gethashespersec and added version and hashespersec to getinfo

This commit is contained in:
Satoshi Nakamoto
2010-08-12 13:23:02 +00:00
committed by Gavin Andresen
parent 410b618d18
commit 9db7bf5f52
4 changed files with 41 additions and 12 deletions

2
main.h
View File

@@ -42,6 +42,8 @@ extern CCriticalSection cs_mapRequestCount;
extern map<string, string> mapAddressBook;
extern CCriticalSection cs_mapAddressBook;
extern vector<unsigned char> vchDefaultKey;
extern double dHashesPerSec;
extern int64 nHPSTimerStart;
// Settings
extern int fGenerateBitcoins;