Repository navigation
Releases
v2.11.2 - A clearer info icon, a quieter DD line, and no secrets on a command line
🔵 replaces ℹ️ on every line where nothing was judged, on all three platforms. In an email summary ℹ️ is hard to tell from ✅ at a glance; thanks to Bob (@vicos59 on Gitter) in #digidollar for the report. Same meaning as before: a list, a check turned off in config, a field the daemon does not report, or a reading not confirmed yet. If you filter monitor output for ℹ️ (a mail rule, a log grep), switch it to 🔵.
The DD economy line no longer warns during the oracle's routine wait. At the start of every 40-block oracle epoch, no node can price the next block until that epoch's signers finish, and DigiByte Core reports minting_restricted_reason: health_state_not_ready for a minute or two. v2.11.1 turned that into a minting paused: waiting for this epoch's signed oracle price, block N of 40 and counts no warning, but only when the node's own detail is the epoch-wait text and the MuSig2 round for that epoch has not finished. Anything else stays
The SMTP login and the Discord webhook URL no longer show in the process list (Linux and macOS). Both now reach curl as a config line on stdin (curl -K -) instead of as arguments. The webhook URL was the bigger exposure: curl blanks a --user value after start-up, but not a URL. The Windows port never had this exposure. No config change needed.
--test-email / -TestEmail now points to the new README section "Email lands in spam or never arrives" (DMARC: why relay mail lands in spam, how to confirm it from the headers, and how to fix it).
The README's email and Discord examples are new v2.11.2 screenshots, mainnet first.
Versions: 2.11.2 (Linux), 2.11.2-win.1, 2.11.2-macos.1.
SHA256:
df11783f088d9940bd80b79dad4555279c5f7204c8c8215882aae68d1513ddf5 oracle-monitor.sh
30a8e283d52a7a763e9002dfcea544fa8a3e02ae556df2d7fe56cc3f8520b860 oracle-monitor-macos.sh
92ddf1edaca00b5c65c94fd0a0a53a3837d0cc47b20b6268b0906a35420be1b7 oracle-monitor.ps1
5ed9b0ad8a76f47368359a22af65ecb5395ee73a55efc9691cec6ee3099db071 config.template
b771d5fddcd6c94ec90eb56517dac2be3ac7715754773182fd450c0b09066c65 config-macos.template
db466147a0fa6705a07418b0a16a7a795494c5888626ee4e93c3e0babda2f0a5 config.template.ps1
647e92e40879e858324f38d741e1442fc33e8315d994cccd7c1d10fff4f8dd10 README.md
2c0f963247719f92cceb32cd2a4df4a3c720b73babdad0be0c7864b82bc9b10e CROSS_PLATFORM_SETUP.md
0977ee4178b58f0aa932e42fba57485528ec64d4b2d3d3ab594d13e55d94bd35 CITATION.cff
Both .ps1 files ship UTF-8 with BOM (ef bb bf).
v2.11.1 - A green health card when the network is healthy
Monitor v2.11.1: the health summary reads green when the network is healthy
v2.11.0's peer census added three blue ℹ️ lines to every health card. This release gives each icon one meaning: ✅ a check passed,
- Peer census as one check line:
✅ Peers on v9.26.6+: 16 of 20 outbound, 13 of 19 inbound, plus 2 wallets. Wallets and other clients are listed apart from DigiByte nodes.⚠️ while the alert is latched; ℹ️ when nothing was judged (alert off in config,checking). - Peer versions list:
ℹ️ Peer versions: v9.26.4 (1) · v9.26.5 (9) · v9.26.6 (3) · v9.26.7 (26), capped byPEER_VERSION_MAX(default 6,0= every version) with+N more (M peers).PEER_VERSION_DETAIL="no"hides it. - MuSig2:
nonces_completeandsigningshow ✅. Duringnonces_completethe nonce count prints raw (34 nonces in) instead of34/7. - DD economy: carries the node's own verdict (
health_status,minting_restricted_reason) when the daemon reports one: ✅ healthy,⚠️ otherwise. Daemons without those fields keep the ℹ️ line. - Prices print with six decimals.
- Alert behavior is unchanged. Report only: never disconnects, never bans.
Shipped on all three platforms as 2.11.1, 2.11.1-win.1 and 2.11.1-macos.1, each passing the same 48 end-to-end harness checks.
SHA256
| File | SHA256 |
|---|---|
| oracle-monitor.sh | 5c9bf3721c835768f46aeef1813d4c472c4e7cb2426bfd02448f8985903bba0d |
| oracle-monitor-macos.sh | 91399caec99423cebf9b091ffbe843d1ece7dc3ce08a2a0aa07dc507b4f91685 |
| oracle-monitor.ps1 | 11b7f96ef055e40981acb93edb01867ffdd2066456b931c7abaae3d48541d47c |
| config.template | 8c419e1c3b43c9b0a121f565b32cb3a35dc9510079e051d588357d15134cd4c5 |
| config-macos.template | 5c959b2e09f3822ff2fd8cbffd130ad57fcb7899ec17279d3fb6f42847415ee2 |
| config.template.ps1 | 700fe0b232961875b0379df44b4eb8eaf58e4d8009a3a45875a6cf5f7e2ff0f3 |
| README.md | 8d32f4befee469df384177c6b076b34fb96476fb207709e0629c3442a3396e09 |
| CROSS_PLATFORM_SETUP.md | 8ae5fad63b71c391c761235f54da3ae766620fd2a47260ea447928b1433fe235 |
| CITATION.cff | c681bd33e295ba0e8b717c52e716cf573e5c8c8665a53c8fb4f41f421ae90152 |
Both .ps1 files ship UTF-8 with BOM (ef bb bf).
v2.11.0 - Peer version census (report only)
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
getpeerinfoonce per pass and sorts peers by DigiByte Core version against a minimum:current,below minimum,legacy,other, plushandshakingfor 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 withPEER_DEBOUNCE_PASSES(default 2), so a daemon restart doesn't flap it. - The minimum comes from
PEER_MIN_VERSION, else the Gitter bot'sMIN_ACCEPTED_VERSION, else v9.26.6 (the Thaw Day minimum, mainnet block 24,490,000). - It never disconnects and never bans.
subveris 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.
v2.10.1 - Rotation truncate check, numeric guards, standard email headers
Hardening polish, no new features. The three scripts move together; the config templates are unchanged in this release, and their at-tag hashes are listed below.
What changed
Rotation now verifies the truncate step (Linux, macOS). rotate_debuglog
checked that the safety copy landed but never checked the truncate itself. If the
copy succeeded and the live file could not be emptied, the function cleared its
latch, posted the blue "Rotated" card, and quietly left both copies on disk while
reporting success. A red debug.log Rotation Incomplete card now fires instead.
The title is deliberately distinct from the existing "Rotation Failed" card so the
two failure modes are tellable apart in Discord.
Numeric guards on check_memory and check_chain (Linux). Both fed parsed
values straight into arithmetic, so a degenerate free response or an unparseable
RPC payload produced bash arithmetic errors mid-run. Each now renders a warning
line instead. The macOS and Windows ports already guarded memory; this brings
Linux in line.
Standard email headers (Linux, macOS). RFC 5322 lists Date and Message-ID
as required originator fields, and the bash send_email supplied neither. Relays
add them, but strict receivers score their absence. Windows was unaffected, since
.NET supplies both.
Comment parity (Linux). Check 8 and Check 9 headers now carry the
"(summary only)" label both ports already had, and STALE_PRICE_MINUTES carries
the reserved-for-future-use note its siblings carry.
Windows
v2.10.1-win.1 is a version-parity bump with no functional change, which keeps the
platform and compatibility tables uniform. One known gap is documented in the script
changelog rather than quietly papered over: Check-Chain casts .blocks and
.headers with [long] and has no counterpart to the new Linux numeric guard.
Upgrading
Drop-in replacement. No config changes, no new settings, no state-file format
change. Cron picks up the new file on its next pass.
SHA256
| File | SHA256 |
|---|---|
oracle-monitor.sh |
d9172656d0a9bac093ca503631ee09071dd5a011367ba284b3a5376e442b00fd |
oracle-monitor.ps1 |
3a3751ef397024ec5e68ca8b6cb889c6a43fc1cd3dd97ca449f1d9bcf97aa261 |
oracle-monitor-macos.sh |
8ff09005ca6b54c6879459156e5b7d86819fe884883190a686293e777c561e5c |
config.template |
6959cde73c65661559116938523b349c919162b1bc8956966666aa4e6eb516e8 |
config.template.ps1 |
82595da4c1d47517956e82e7559ce68016776a8bd48ac43f2de925532cece166 |
config-macos.template |
72e6687cd95068210958e224b1d1666d148f47940fe9dfa90a8fd18217c6dbd0 |
The config.template.ps1 and config-macos.template hashes are unchanged from
v2.10.0. config.template was updated after the v2.10.0 tag by the bot v1.8.0
commit (b4d2cc4); its hash above is the value at this tag.
Correction 2026-07-28: these notes originally listed the v2.10.0-era hash for
config.template, copied forward in error. Corrected to the at-tag value above.
Also note: oracle-monitor.ps1 on main has since moved to v2.10.1-win.2
(commit 9c21407), which postdates this tag.
v2.10.0 - Chain/label mismatch warning + logrotate coexistence
Warns when the chain your node reports does not match NETWORK_LABEL, so a CLI
line pointed at the wrong daemon stops producing a confident card full of the wrong
network's numbers. Closes #43.
Chain/label mismatch warning (#43)
check_chain compares the label against the chain the node reports and adds a second
line when they clearly disagree:
✅ Chain: synced at block 178878 (test)
⚠️ Label/chain mismatch: label "Mainnet", node reports (test). Check CLI in your config.
One yellow alert fires, latched, so a persistent misconfiguration alerts once rather
than every five minutes, and clears green when the config is fixed. It is a second
line rather than a recoloured Chain line, because the node really is synced and the
warning also has to hold when the node is behind.
The comparison is deliberately lenient. The chain value is matched exactly, so
regtest never collides with the substring test. Only the label is matched loosely,
and it must clearly name a chain to be judged at all. Testnet26, Main Net Oracle
and my-mainnet-box match; Primary domain oracle, Latest net, Main Oracle Box,
a label naming both chains, and an empty label are all left alone. There is no config
toggle, because a label naming no chain already opts out.
Log-rotation coexistence
Raised by Aussie Epic. The DEBUG_LOG_ROTATE="no" guidance named developer log
capture as its only reason, when coexisting with logrotate is equally valid. The real
hazard turned out to be cadence: logrotate at size 2048M rotate 5 against
DEBUG_LOG_MAX_MB=2048 is the same threshold, but the monitor checks every five
minutes while logrotate runs daily. The monitor gets there first and truncates to
zero, so logrotate never sees a file big enough to rotate and rotate 5 never builds
up. One generation on disk, five believed, nothing logged and nothing warned. Only one
tool should own rotation. Full detail in the hardening guide.
Also in this release: SPDX-License-Identifier: MIT on all three scripts, and a
corrected weekly-cron example in the guide that no longer writes to the monitor's own
debug.log.1.
SHA256
oracle-monitor.sh e725190ce2cd41cb4258641cedb2efd35003727dd43f7843d51c04e648a6b11a
oracle-monitor.ps1 c45e18e38f49ac0c8c6491e5e53d4d3dee3fb43ce560eea101dd5d22e83b3bdb
oracle-monitor-macos.sh 3ef09a3981132c20d648953aa9d13443e0e2089aef865f3ef2cb36f091fb9b62
config.template 4a224218f6de05969c20f55d526c83cf873eb22c8a0c3a57a6266cfb4123a436
config.template.ps1 82595da4c1d47517956e82e7559ce68016776a8bd48ac43f2de925532cece166
config-macos.template 72e6687cd95068210958e224b1d1666d148f47940fe9dfa90a8fd18217c6dbd0
Both .ps1 files ship UTF-8 with BOM (ef bb bf), verified against GitHub raw
after publish.
v2.9.0 - DD economy line and label-first summary titles
Closes #40, #41, and #42. All three platforms. Deployed and verified on live mainnet
and testnet26 instances before publishing.
DigiDollar economy line on the health summary (#40)
Requested in the DigiDollar Gitter room. The health summary card gains one line,
directly under Price:
ℹ️ DD economy: $41,932.07 DD minted, 41,515,898 DGB locked (332% collateralized)
Identical wording to the Gitter network status bot, so the two tools share a
vocabulary.
Reads getdigidollarstats. Note that total_dd_supply is denominated in cents,
so 4193207 renders as $41,932.07. The field map was verified live on both v9.26.4
and v9.26.5, so the BIP90 burial did not move these fields the way it moved .since
in the deployment RPCs, and the output was cross-checked against digibyte.io/ddstats
and nodes.bi-co.net.
Information only. It never fires an alert, never counts toward the warning or
issue totals, and never changes the card colour. An all-green card stays all-green.
Summary card only, never the 5-minute checks. Those post single-purpose alert
cards with no status block, and a network-wide total under a "Node Down" card is
noise at exactly the moment you want signal. That also keeps the RPC at two calls a
day per instance rather than 288. Measured at 11 ms and roughly 1 to 2 debug.log
lines per call on a chain with 23.9 million blocks, so no interval gate is needed.
Every failure path omits the line rather than guessing: a missing RPC, a parse
failure, a renamed field, or a non-numeric value all render nothing, and a chain
where DigiDollar has not activated shows a standby line instead.
New config: DD_ECONOMY_ENABLED, default yes.
Idea credit to Bastian for the original bot-side line.
Network label now leads the summary title (#41)
Operators running two instances reported they could not tell a testnet card from a
mainnet card in the same Discord channel. Two healthy cards opened with an identical
24-character run and differed by one word buried mid-title.
The cause was a gap left over from v2.5.3: that release added the label to alert
titles and email subjects through their two send chokepoints, but the health summary
builds its title separately and was missed.
Before: ✅ All Systems Healthy — Testnet26 Health Summary
After: Testnet26 Health Summary — ✅ All Systems Healthy
Status moves to the tail, where the embed border colour already carries it.
New config: NETWORK_EMOJI, empty by default so nothing changes unless you set it.
It prefixes the label everywhere, including email subjects and the watch mode banner
on the ports. Marking only one instance is usually enough: leave production unset so
its cards look exactly as they always have, and flag the test one.
Internally the label and emoji are combined once into a single derived value at
config load, which is what prevents the emoji doubling on the email path.
Dual-instance CLI guidance corrected (#42)
Worth reading if you run both chains on one box.
Bare digibyte-cli is correct only on a mainnet-only machine. On a dual-instance
setup it reads ~/.digibyte/digibyte.conf, which is your testnet conf and carries
testnet=1, so the client connects to the testnet RPC port while your mainnet
daemon runs with its own -conf= that the bare client never reads.
Nothing errors. You get a health summary titled "Mainnet" reporting testnet block
heights, testnet quorum counts, and testnet prices. The only visible tell is the
chain name on the Chain line, (test) sitting a few rows under a Mainnet title.
Pin the chain explicitly on both instances:
# testnet
CLI="digibyte-cli -testnet"
# mainnet
CLI="digibyte-cli -conf=$HOME/.digibyte/mainnet.conf"Windows has the same trap with $CLI_ARGS = @(). Corrected in all three config
templates, in both places it appeared, and in the README configuration table.
Upgrading
Drop-in replacement, no config changes required. Both new settings have defaults
that preserve existing behaviour.
cp ~/oracle-monitor.sh ~/oracle-monitor.sh.bak-$(date +%Y%m%d-%H%M%S)
# download oracle-monitor.sh, verify the hash below, then:
chmod 775 ~/oracle-monitor.sh.new
bash -n ~/oracle-monitor.sh.new
mv ~/oracle-monitor.sh.new ~/oracle-monitor.shmv rather than copying over the live file, so a cron run firing mid-swap gets
either the old file or the new one and never a half-written one.
SHA256
Verify before you run anything.
9ed03990dc1bf6c3a30f1997d96de9e18c80ab60b82ca9f6b4ca19e094260228 oracle-monitor.sh
166a6ce2e7132e729cb5b022c9258671cc71059542bafb866a15871e86f2aee8 oracle-monitor.ps1
cf4f9cce9118412171ce8266ffd59d4934c025b7f9bdade44b1c77fa26d6d186 oracle-monitor-macos.sh
7337d8e4cbf936c3cbd0da6e0f94336122888716e5a4628185417329081dc9df config.template
d06909dfdfdc4ff60eb20bf553ecfc13fc9b73cda64dd6a24cf4a642f2d131eb config.template.ps1
880acddb543094bf127537163c9dfb0cfbb10663c046e1a65534593967b84410 config-macos.template
Both .ps1 files ship UTF-8 with BOM. If your copy does not start with the bytes
EF BB BF, the emoji in your Discord cards will render as mojibake.
v2.8.0 - peer inbound/outbound split
Back-tagged after the fact so there is a prior version to diff against. This is the
release that was live before v2.9.0.
Peer line now shows the inbound/outbound split and your connection cap
✅ Peers: 41 connected (34 in / 7 out, cap 125)
connections_in is what serves wallets. As it approaches maxconnections the node
starts accepting and then evicting new wallet connections, so this surfaces
saturation at a glance for operators who would not otherwise run the RPC by hand.
Reads the total from getnetworkinfo and maxconnections from your daemon conf,
falling back to the default 125 when the setting is absent. Display only: the alert
threshold is still on total peers.
If you are saturated, raising maxconnections is the lever, but budget roughly 1 to
2 MB of RAM per peer first. Over-raising it on an underpowered box can OOM the
daemon, which is considerably worse than a full connection table.
Raised by JohnnyLawDGB, Bastian, and Bob in the DigiDollar Gitter room.
Also in this release
The # Version: header comment and the SCRIPT_VERSION constant were out of sync
across all three scripts and are corrected here.
Files
oracle-monitor.sh, oracle-monitor.ps1, oracle-monitor-macos.sh, and the three
config templates.