From 54d02f158d79b078ed9afdca5e37241101b040cd Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Thu, 15 Sep 2011 08:55:15 -0400 Subject: SetMockTime() for cleaner unit testing --- src/util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 3d7ef108b4..658d10e1eb 100644 --- a/src/util.h +++ b/src/util.h @@ -199,6 +199,7 @@ void ShrinkDebugFile(); int GetRandInt(int nMax); uint64 GetRand(uint64 nMax); int64 GetTime(); +void SetMockTime(int64 nMockTimeIn); int64 GetAdjustedTime(); void AddTimeData(unsigned int ip, int64 nTime); std::string FormatFullVersion(); -- cgit v1.2.3 From 565c4771b6eba0eeb82f8602735100bbcf4b053e Mon Sep 17 00:00:00 2001 From: Gavin Andresen Date: Mon, 26 Sep 2011 10:04:04 -0400 Subject: Remove wxWidgets Makefiles now build bitcoind only. qmake/make in top-level directory is used to build Bitcoin QT Deleted almost all #ifdef GUI from the code (left one possibly controversial one) Deleted xpm/ files. --- src/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index dd5c41135e..33013a2f81 100644 --- a/src/util.h +++ b/src/util.h @@ -132,7 +132,7 @@ inline int myclosesocket(SOCKET& hSocket) return ret; } #define closesocket(s) myclosesocket(s) -#if !defined(QT_GUI) && !defined(GUI) +#if !defined(QT_GUI) inline const char* _(const char* psz) { return psz; -- cgit v1.2.3