Skip to content
This repository has been archived by the owner on Sep 3, 2021. It is now read-only.

bbjansen/lto-network-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 * * *

About

LTO Node Monitor backed by a SQL DB and cron.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published