Skip to content

xdv-legacy/validation-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Validation Tracker

Monitors rippled logs and parses out validation events from the network nodes

##Installation

  • Install node.js and npm.
  • Install dependencies with npm install
  • Run npm run start on any rippled machines that you want to parse the rippled logs for validations.

Configuration

All configuration is done via environment variables according to the principles of the Twelve Factor App

  • RIPPLED_LOG_PATH
  • HBASE_HOST
  • HBASE_PORT
  • HBASE_TABLE
  • VALIDATION_TRACKER_POSTGRES_URL

Optional

  • STATSD_HOST
  • STATSD_PORT

Usage

The core class is RippledLogMonitor which tails the rippled logs and parses out validation events, formatting them as JSON and logging to the console.

To extend the monitor functionality create a subclass of RippledLogMonitor and override the onValidation(validation) method.

By default a single subclass is implemented in monitor.js which writes each validation to an Hbase database configured via the above environment variables

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •