aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-06-19 15:08:37 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-06-25 09:24:50 +0200
commit14f888ca804386b111b07e8988753d67f507ba30 (patch)
tree22193675a85be98cbc9030d973a388834803b80a /src/util.h
parent208bf5b9e0a86900bddf5722dc192c3262480e36 (diff)
downloadbitcoin-14f888ca804386b111b07e8988753d67f507ba30.tar.xz
Move network-time related functions to timedata.cpp/h
The network time-offset-mangement functions from util.cpp are moved to timedata.(cpp|h). This breaks the dependency of util on netbase.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/util.h b/src/util.h
index 5eb6f03826..6057c72e66 100644
--- a/src/util.h
+++ b/src/util.h
@@ -32,7 +32,6 @@
#include <boost/filesystem/path.hpp>
#include <boost/thread.hpp>
-class CNetAddr;
class uint256;
static const int64_t COIN = 100000000;
@@ -191,11 +190,8 @@ uint64_t GetRand(uint64_t nMax);
uint256 GetRandHash();
int64_t GetTime();
void SetMockTime(int64_t nMockTimeIn);
-int64_t GetAdjustedTime();
-int64_t GetTimeOffset();
std::string FormatFullVersion();
std::string FormatSubVersion(const std::string& name, int nClientVersion, const std::vector<std::string>& comments);
-void AddTimeData(const CNetAddr& ip, int64_t nTime);
void runCommand(std::string strCommand);