This is client/server solution which obtain information from the velas node and sends it to server (god).
Use cases
- Server collects all information and provide for AI/Admins
- TODO: Server notifies node owners by telegram about problems
- TODO: Server decides which node should process the incoming transaction
npm i pm2 livescript -gThis is client. Need to put it at the same folder as blockchain because it parses config.toml Also it connects to GOD object of pm2 and trying to extract the running process by 'name'
echo "lsc VelasGod/client/client.ls --name fake --server ws://123.123.123.123:1234" > monitor.sh
pm2 start monitor.sh
# or
# cd client && pm2 start churchman.shThis is collector service. It receives information from all clients
lsc server/server.ls
# or
# cd server && pm2 start god.shThis is fake blockchain node to produce random logs. Just for testing
cd fake
pm2 start fake.sh