Skip to content

Tools to validate BPs have set up their public configuration correctly

License

Notifications You must be signed in to change notification settings

We-Can-dev/bpvalidate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

856 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tools to validate that Block Producers and Standby Block Producers have set up their public configuration in a usable fashion.

The validator has multiple parts which need to be installed:

  • rabbitmq
  • mariadb
  • webui
  • dispatch
  • probe

All parts can be installed on the same server, or each on its own server. Adjust usernames and passwords listed in the instructions to suit.

Installation Instructions (for ubuntu/debian):

rabbitmq:

  • run: apt install rabbitmq-server
  • run: rabbitmq-plugins enable rabbitmq_management
  • run: rabbitmq-plugins enable rabbitmq_stomp
  • run: rabbitmqctl add_vhost bpvalidate
  • run: rabbitmqctl add_user bpvalidate bpvalidate
  • run: rabbitmqctl set_permissions -p bpvalidate bpvalidate '.' '.' '.*'

mariadb:

  • run: apt install mariadb-server
  • mysql: create database bpvalidate
  • mysql: create user bpvalidate identified by 'bpvalidate'
  • mysql: grant all privileges on bpvalidate.* to 'bpvalidate'@'%'

webui:

dispatch:

  • install libraries from https://github.com/EOS-Nation/perl-lib
  • run: apt install libjson-perl libdbd-mysql-perl libdata-validate-perl liblocale-codes-perl libnet-stomp-perl libyaml-perl
  • mkdir /run/bpvalidate

probe:

Environment Variables:

  • EOSN_WEBPAGE_DOMAIN=localhost
  • EOSN_WEBPAGE_WEB=/var/www/bpvalidate
  • EOSN_WEBPAGE_CONFIG=/somewhere/bpvalidate/config/config
  • EOSN_WEBPAGE_LANG=en

About

Tools to validate BPs have set up their public configuration correctly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 83.7%
  • CSS 14.3%
  • JavaScript 1.2%
  • HTML 0.8%