@pdp2121/validator-history-service v0.8.1-b1
Validator History Service
The Validator History Service (VHS) is a service for ingesting, aggregating, storing, and disbursing node- and validation-related data.
Installation
Install VHS globally
To install the Validator History Service globally on your computer, run
npm i -g validator-history-serviceDatabase
The Validator History Service only supports Postgres. You'll need to create a database, but the Validator History Service will create the tables and schema for you.
Environment variables
Create a .env file with the same environment variable as .env.example where you want to run the Validator History Service.
Alternatively, update your .bashrc or .zshrc to export the environment variables.
Here are some example values for some environment variables:
MAINNET_P2P_SERVER: your mainnet peer-to-peer rippled node FQDNMAINNET_UNL: a mainnet validator domain which hosts a UNL, for exampleMAINNET_UNL=vl.ripple.com
Run
The Validator History Service runs on HTTP on port 3000.
After installation, you have access to the validatorhistoryservice command globally.
Run validatorhistoryservice with --api to launch the API server:
validatorhistoryservice --apiRun validatorhistoryservice with --connections to launch the connection manager:
validatorhistoryservice --connectionsRun validatorhistoryservice with --crawler to launch the network crawler:
validatorhistoryservice --crawlerAPI inspection
Once the service and API are running, you may inspect the API by issuing any HTTP request to port 3000:
curl localhost:3000Contributing
Please follow this link
9 months ago
9 months ago
9 months ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago