- E217371B4DA3B8F7B7FB1ACD0B281F361DE3854E91AF884BF70CB39267075A6BE1BB504DC9E4D3EEBEE60ECAF371AC8E83DAF88F69569A14C53FB189C4871A9F
+ 922077B9A93594100C7CBA97D32583565C2ADB04C7B1D848A4200FFAF7C3D27BC6BC02643EDEFC709A7396E792E3697E4CA345B02F3054DB4AC19ADF530010BF
bitcoin/src/util.h
(18 . 6)(18 . 7)
2018 #include <boost/thread.hpp>
2019 #include <boost/interprocess/sync/interprocess_recursive_mutex.hpp>
2020 #include <boost/date_time/gregorian/gregorian_types.hpp>
2021 #include <boost/date_time/posix_time/posix_time.hpp>
2022 #include <boost/date_time/posix_time/posix_time_types.hpp>
2023
2024 #include <openssl/sha.h>
(37 . 6)(38 . 18)
2026 #define ARRAYLEN(array) (sizeof(array)/sizeof((array)[0]))
2027 #define printf OutputDebugStringF
2028
2029 #define SERR "ERR "
2030 #define SWAR "WAR "
2031 #define SINF "INF "
2032
2033 #define SPRC "PRC "
2034 #define SMEM "MEM "
2035 #define SADR "ADR "
2036 #define SBLK "BLK "
2037 #define SNET "NET "
2038 #define SWAL "WAL "
2039 #define SMIN "MIN "
2040
2041 #ifdef snprintf
2042 #undef snprintf
2043 #endif
(373 . 6)(386 . 11)
2045 boost::posix_time::ptime(boost::gregorian::date(1970,1,1))).total_milliseconds();
2046 }
2047
2048 inline std::string GetISODateTime() {
2049 boost::posix_time::ptime ut = boost::posix_time::microsec_clock::universal_time();
2050 return boost::posix_time::to_iso_extended_string(ut);
2051 }
2052
2053 inline std::string DateTimeStrFormat(const char* pszFormat, int64 nTime)
2054 {
2055 time_t n = nTime;