Add UpdatedBlockTip signal to CMainSignals and CValidationInterface
[bitcoinplatinum.git] / src / utiltime.h
blob900992f8717fc393af6c00e7dba3ebb5a8308950
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2014 The Bitcoin Core developers
3 // Distributed under the MIT software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
6 #ifndef BITCOIN_UTILTIME_H
7 #define BITCOIN_UTILTIME_H
9 #include <stdint.h>
10 #include <string>
12 int64_t GetTime();
13 int64_t GetTimeMillis();
14 int64_t GetTimeMicros();
15 void SetMockTime(int64_t nMockTimeIn);
16 void MilliSleep(int64_t n);
18 std::string DateTimeStrFormat(const char* pszFormat, int64_t nTime);
20 #endif // BITCOIN_UTILTIME_H