DerektDev-Domingo
New member
To anyone following, unfortunately, as expected, I did lose access to the Gitlab repo. Also, I missed any responses in the Discord dev chat.
If anyone still has access to those, please post them here.
I've had almost no time to work on DMSC lately, but I do have some updates. I figure this is the best place to put them for a few reasons.
I've had almost no time to work on DMSC lately, but I do have some updates. I figure this is the best place to put them for a few reasons.
### DMSC is a Dash (Digital Cash) masternode/network status console with audible alerts.
##
# DMSC should work on pretty much any GNU based *nix system without installing anything.
# Requirements: awk, bash (v4.2+), bc, coreutils, Dash Core, grep, iproute2, jq
# Commands used: awk, bash, bc, dash-cli, grep, jq, sleep, ss, tr
#
# Usage: Modify dashConf variable. Dash Core must be configured for RPC. Main/test-net is detected automatically. ^C to exit.
#
# Logic:
# Every loopInterval we check for a new block, waiting up to 2 seconds for each RPC and ss to return.
# Alert if no RPC data in over loopInterval * noRpcCountMax.
# Alert if no new block discovered in over loopInterval * blockStallCountMax.
# Alert if any unknown masternode related error.
# Alert if PoSe score indicates a penalty or ban.
# PoSe score is green if the situation is the same or getting worse.
# PoSe score is blue with audible alert muted when conditions are improving.
# ICN is red with audible alert when masternode is active without inbound connecting nodes.
#
# Example mainnet output:
#
# blk: 2221740 diff: 109125713. MN: Not configured. DKG: 0 12 MNC: 2046 299 ICN: 9 pool: 3 7216/300000000 mem: 39232/262144 load: 0.08 0.07 0.08 2025-02-13 06:17:44