Mina Monitor v2.0.0
What's new
- Changed data exchange protocol from
http(s)
tows(s)
- Added Docker file for server and built docker image (
olton/mina_monitor_server
) - To the Server added command line arguments support. Now you can rewrite config parameters with command line arguments
- Refactoring server code, switch to CommonJS modules
- Control for mina stopped with
journalctl
and write this event to the log - New supported time format for config parameters - short string (see README)
- A lot of client config parameters are deprecated:
intervals
,price
,hosts
,useHost
,useHttps
Changelog
-
Server: changed data exchange protocol from
http(s)
tows(s)
-
Server: added command line arguments support. Now you can rewrite config parameters with command line arguments
-
Server: refactoring code, switch to CommonJS modules
-
Server: improved
alerter
forHANG
state detecting -
Server: added logic to disable
HANG
alert/restart whenhangInterval
,hangIntervalAlert
is0
-
Server: added control for mina stopped with
journalctl
and write this event to the log -
Server: added alert to
telegram
and/ordiscord
aboutmina daemon
stops by failure (info fromjournalctl
) -
Server: added response for request
sync-state
. Return daemon sync state (SYNCED
,BOOTSTRAP
, ...) orUNKNOWN
-
Server: added helper function
timeParser(t)
for parsing time, defined in short string (ex:1d3h23m45s
,30m
,10s
,2h30s
) -
Server: config parameter
restartAfterNotSynced
must be defined in milliseconds or short time string (ex:30m
) -
Server: changed alerts events to Telegram and Discord. Value
NON_SYNCED
is deprecated, to alert change sync status use valueSTATUS
-
Server: changed config property
price:interval
toprice:sendInterval
-
Server: removed collecting Mina Explorer Height, config parameter
observeExplorer
deprecated -
Server: config parameter
blockDiff
now can be0
to disable fork checking -
Server: config parameter
blockDiffToRestart
now can be0
to disable restart node when fork detected -
Client: changed data exchange protocol from
http(s)
tows(s)
-
Client: added support short string time format in config
-
Client: config parameters
inervals:*
are deprecated -
Client: config parameters
price:*
are deprecated -
Client: config parameters
proxy
,useProxy
are deprecated -
Client: config parameters
hosts
,useHost
are deprecated. You must use parameterhost: "server_ip_or_name:port"
-
Client: config parameter
useHttps
are deprecated. You must use parameterhttps: true|false
-
Client: fixed color for uptime position label for 120+ places