aboutsummaryrefslogtreecommitdiff
path: root/src/utiltime.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [trivial] Fix typos in commentspracticalswift2017-01-271-1/+1
|
* net: Consistently use GetTimeMicros() for inactivity checksSuhas Daftuar2017-01-251-0/+5
| | | | | | | | | | | The use of mocktime in test logic means that comparisons between GetTime() and GetTimeMicros()/1000000 are unreliable since the former can use mocktime values while the latter always gets the system clock; this changes the networking code's inactivity checks to consistently use the system clock for inactivity comparisons. Also remove some hacks from setmocktime() that are no longer needed, now that we're using the system clock for nLastSend and nLastRecv.
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* Fix race when accessing std::locale::classic()Matt Corallo2016-11-271-1/+2
| | | | See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78552
* [doc] Fix doxygen comments for membersMarcoFalke2016-04-031-1/+1
|
* Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|
* Assert now > 0 in GetTime GetTimeMillis GetTimeMicrosPatick Strateman2015-11-241-5/+11
| | | | | | Previously all of these functions could return negative values (for different readons). Large portions of the codebase currently assume that these functions return positive values.
* Add option for microsecond precision in debug.logSuhas Daftuar2015-10-261-0/+8
|
* Trivial: useless cast (ptime)(I'm ptime)svost2015-04-301-2/+2
|
* Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
| | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* Update comments in util to be doxygen compatibleMichael Ford2014-11-171-5/+8
|
* Split up util.cpp/hWladimir J. van der Laan2014-08-261-0/+66
Split up util.cpp/h into: - string utilities (hex, base32, base64): no internal dependencies, no dependency on boost (apart from foreach) - money utilities (parsesmoney, formatmoney) - time utilities (gettime*, sleep, format date): - and the rest (logging, argument parsing, config file parsing) The latter is basically the environment and OS handling, and is stripped of all utility functions, so we may want to rename it to something else than util.cpp/h for clarity (Matt suggested osinterface). Breaks dependency of sha256.cpp on all the things pulled in by util.