forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add -trustlocalclock option to trust local clock source
If set then the local clock is taken as authorative. If false then old logics of adjusting time with median of first 199 seen nodes are preserved. This also changes logics on time notification somewhat, alerting if median network time and local time drifts apart more than 15 minutes. The warning is also repeated in the log on each new connection while the error persists. The UI popup is still only shown once. This addresses some concerns raised in issue bitcoin#4521
- Loading branch information
Henrik Nordström
committed
Jul 29, 2015
1 parent
1dac192
commit 1f4d197
Showing
2 changed files
with
31 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters