Skip to content

v2.11.0 - Peer version census (report only)

Choose a tag to compare

@BaumerCrypto BaumerCrypto released this 02 Nov 04:27
· 4 commits to main since this release
Immutable release. Only release title and notes can be modified.
842c3ff

Monitor v2.11.0 adds a report-only peer version census (Check 14) on all three platforms. Thanks to shenger for the idea in #digidollar.

What it does

  • Reads getpeerinfo once per pass and sorts peers by DigiByte Core version against a minimum: current, below minimum, legacy, other, plus handshaking for peers still connecting.
  • The health summary gains up to three lines under Peers: outbound, inbound, and the four most common versions.
  • One yellow alert, outbound only, when fewer than PEER_MIN_COMPAT_OUT (default 4) outbound peers are on the minimum or newer. Debounced both ways with PEER_DEBOUNCE_PASSES (default 2), so a daemon restart doesn't flap it.
  • The minimum comes from PEER_MIN_VERSION, else the Gitter bot's MIN_ACCEPTED_VERSION, else v9.26.6 (the Thaw Day minimum, mainnet block 24,490,000).
  • It never disconnects and never bans. subver is free text any peer can set, and IP bans outlive upgrades.

Windows also computes the summary's uptime in UTC on both sides, so a daylight saving change no longer shifts it by an hour.

Full detail: README, "v2.11.0: peer version census (report only)".

Versions: oracle-monitor.sh 2.11.0, oracle-monitor-macos.sh 2.11.0-macos.1, oracle-monitor.ps1 2.11.0-win.1

SHA256 (commit 842c3ff)

69b1ecc949209b859278f38930d729afce0dfb659a382c4cd217c3e38c01f34f  oracle-monitor.sh
7bd8e77e49a32f9e58c1802268cd874c11eedf342bb0b2312f475195dcd41365  oracle-monitor-macos.sh
a3c01f308a66ac18fbc51461eb94f33b32bba1a7653c3fac4c2e85798946ca0b  oracle-monitor.ps1
e3b01680f16515edee6100b6ae241c21d64610e53e42ee01358e7977880d957d  config.template
1290f4755670d1fdee5074d45b277702a1dc83a5989a0a3b4ab55042b33d7bf3  config-macos.template
8bf8b59265e3031010be733cdf152245816dad694bc0e15557703a76ec26f554  config.template.ps1
4b26f2cc8300cf77ade001795527d5889136c7a73adc5fed135ea2a1f593d2f9  README.md
735c45c2d6d8673093f272eda61a45cab91f1efe4694df2e037eed4366ea9333  CROSS_PLATFORM_SETUP.md
4a6beeb8d2222f37a0657923c56de6aae8f7877feff602f5209771eaaba0134c  CITATION.cff

Both .ps1 files ship UTF-8 with BOM: the first three bytes must read ef bb bf.