/lto-network-monitor

LTO Node Monitor backed by a SQL DB and cron.

Primary LanguageJavaScriptGNU Affero General Public License v3.0AGPL-3.0

LTO Network Monitor

A nifty cron script written in Node.JS that grabs all known peers of the LTO network and tracks data on availbility, ports, geolocation and status.

Requirements

  • Node.Js 8+
  • knex.js supported database.
  • SQLite 3
  • Cron

.env variables

Create .env file in the root directory:

SEED_NODE=<node address>:<api port>
DB_FILE=./db.sqlite3
TIMEOUT=2000
CRON_DISCOVER=*/15 * * * *
CRON_PING=0 * * * *
CRON_SCAN=0 * * * *
CRON_LOCATE=0 0 * * *