Include NTP checking/reconfigure tools + bump version to 1.3.1

SysTray pop-up menu now includes entry for launching https://time.is
so node owners can check their system clocks against internet time.

Windows installs also have additional systray menu entry which
runs ntpcfg.bat script, included in resources.
Also available as download via node-UI servlet,
e.g. http://localhost:9880/downloads/ntpcfg.bat

ntpcfg.bat reconfigures Windows Time Service with many NTP servers,
restarts the service, and also makes sure it auto-starts on boot.

Added DEBUG-level logging when rejecting nodes due to excessive
time difference (during PROOF handshake stage).

Bumped default settings values for minOutboundPeers from 10 to 20.
Bumped default settings values for maxPeers from 30 to 50.
This commit is contained in:
catbref
2019-07-19 15:05:58 +01:00
parent 9ee12f3e45
commit 7042dd819f
8 changed files with 186 additions and 12 deletions

View File

@@ -1,7 +1,15 @@
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)
# SysTray pop-up menu
OPEN_NODE_UI=Open Node UI
EXIT=Exit
CHECK_TIME_ACCURACY = Check time accuracy
EXIT = Exit
# Nagging about lack of NTP time sync
NTP_NAG_CAPTION=No connections?
NTP_NAG_TEXT=Please enable Windows automatic time synchronization
NTP_NAG_CAPTION = No connections?
NTP_NAG_TEXT = Please enable Windows automatic time synchronization
OPEN_NODE_UI = Open Node UI
SYNCHRONIZE_CLOCK = Synchronize clock

View File

@@ -1,7 +1,15 @@
#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/)
# SysTray pop-up menu
OPEN_NODE_UI=\u5F00\u542F\u754C\u9762
EXIT=\u9000\u51FA\u8F6F\u4EF6
CHECK_TIME_ACCURACY = \u68C0\u67E5\u65F6\u95F4\u51C6\u786E\u6027
EXIT = \u9000\u51FA\u8F6F\u4EF6
# Nagging about lack of NTP time sync
NTP_NAG_CAPTION=\u6CA1\u6709\u8FDE\u63A5\u4E0A\u8282\u70B9\uFF1F
NTP_NAG_TEXT=\u8BF7\u542F\u7528Windows\u81EA\u52A8\u65F6\u95F4\u540C\u6B65\u3002
NTP_NAG_CAPTION = \u6CA1\u6709\u8FDE\u63A5\u4E0A\u8282\u70B9\uFF1F
NTP_NAG_TEXT = \u8BF7\u542F\u7528Windows\u81EA\u52A8\u65F6\u95F4\u540C\u6B65\u3002
OPEN_NODE_UI = \u5F00\u542F\u754C\u9762
SYNCHRONIZE_CLOCK = \u540C\u6B65\u65F6\u949F