Skip to content

Mina Monitor v2.0.0

Compare
Choose a tag to compare
@olton olton released this 05 Oct 05:29
· 115 commits to master since this release

What's new

  • Changed data exchange protocol from http(s) to ws(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) to ws(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 for HANG state detecting

  • Server: added logic to disable HANG alert/restart when hangInterval, hangIntervalAlert is 0

  • Server: added control for mina stopped with journalctl and write this event to the log

  • Server: added alert to telegram and/or discord about mina daemon stops by failure (info from journalctl)

  • Server: added response for request sync-state. Return daemon sync state (SYNCED, BOOTSTRAP, ...) or UNKNOWN

  • 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 value STATUS

  • Server: changed config property price:interval to price:sendInterval

  • Server: removed collecting Mina Explorer Height, config parameter observeExplorer deprecated

  • Server: config parameter blockDiff now can be 0 to disable fork checking

  • Server: config parameter blockDiffToRestart now can be 0 to disable restart node when fork detected

  • Client: changed data exchange protocol from http(s) to ws(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 parameter host: "server_ip_or_name:port"

  • Client: config parameter useHttps are deprecated. You must use parameter https: true|false

  • Client: fixed color for uptime position label for 120+ places