diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-06-19 15:08:37 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-06-25 09:24:50 +0200 |
| commit | 14f888ca804386b111b07e8988753d67f507ba30 (patch) | |
| tree | 22193675a85be98cbc9030d973a388834803b80a /src/util.h | |
| parent | Merge pull request #3839 (diff) | |
| download | discoin-14f888ca804386b111b07e8988753d67f507ba30.tar.xz discoin-14f888ca804386b111b07e8988753d67f507ba30.zip | |
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.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/util.h b/src/util.h index 5eb6f0382..6057c72e6 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); |