aboutsummaryrefslogtreecommitdiff
path: root/src/timedata.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Refactor: Remove using namespace <xxx> from src/*.cpp.Karl-Johan Alm2017-01-271-3/+1
|
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* Move GetWarnings() into its own file.Gregory Maxwell2016-12-031-0/+1
|
* Eliminate data races for strMiscWarning and fLargeWork*Found.Gregory Maxwell2016-12-031-2/+2
| | | | | This moves all access to these datastructures through accessor functions and protects them with a lock.
* net: narrow include scope after moving to netaddressCory Fields2016-07-311-1/+1
| | | | | Net functionality is no longer needed for CAddress/CAddrman/etc. now that CNetAddr/CService/CSubNet are dumb storage classes.
* P2P: add maxtimeadjustment command line optionmruddy2016-03-291-1/+1
|
* Merge branch 'master' into single_prodnameLuke Dashjr2016-02-031-1/+1
|\
| * Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
| |
* | Unify package name to as few places as possible without major changesLuke Dashjr2015-12-141-1/+5
|/
* Move time data log print to 'net' category to reduce log noisetulip2015-11-221-7/+7
|
* timedata: Prevent warning overkillWladimir J. van der Laan2015-09-271-2/+1
| | | | | | | | | | | | | | | The "please check your computer's data and time" message when the clock deviates from the network currently generates an overkill of messages: orion@lethe:~/bitcoin$ src/bitcoind Warning: Warning: Please check that your computer's date and time are correct! If your clock is wrong Bitcoin Core will not work properly. In the log: 2015-09-27 16:24:13 *** Warning: Please check that your computer's date and time are correct! If your clock is wrong Bitcoin Core will not work properly. 2015-09-27 16:24:13 Warning: Warning: Please check that your computer's date and time are correct! If your clock is wrong Bitcoin Core will not work properly. Remove one level of 'Warning:' and reduce to one log message.
* Do not store more than 200 timedata samples.Pavel Janík2015-08-111-1/+5
|
* Merge pull request #5476Wladimir J. van der Laan2015-01-021-3/+1
|\ | | | | | | | | 73caf47 Display time offset in the debug window's Peers tab (Pavel Janík) 26a6bae Add time offset to getpeerinfo output (Pavel Janík)
| * Add time offset to getpeerinfo outputPavel Janík2014-12-151-3/+1
| |
* | Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
|/ | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* Convert remaining comments in /src to doxygen formatMichael Ford2014-11-211-9/+8
| | | | | | | | | | - Update comments in checkpoints to be doxygen compatible - Update comments in checkqueue to be doxygen compatible - Update coins to be doxygen compatible - Fix comment typo in crypter.h - Update licenses/copyright dates Closes #5325 #5184 #5183 #5182
* Split up util.cpp/hWladimir J. van der Laan2014-08-261-0/+6
| | | | | | | | | | | | | | | | 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.
* Typo, and a few "Bitcoin" -> "Bitcoin Core"pryds2014-08-041-1/+1
| | | | Github-Pull: #4619
* Add comment about never updating nTimeOffset past 199 samplesWladimir J. van der Laan2014-07-241-0/+18
| | | | Refer to issue #4521 for details.
* Move network-time related functions to timedata.cpp/hWladimir J. van der Laan2014-06-251-0/+91
The network time-offset-mangement functions from util.cpp are moved to timedata.(cpp|h). This breaks the dependency of util on netbase.