Set of microservices to cache data for Coris Blockchain Explorer.
Docker image is based on Alpine and Node 12
Build in NodeJS
Utilize Redis as storage service.
First you need docker and docker-compose to be installed.
Configuire rpc in /services/validators/lib.js to point to your giaia light client endpoint. For example, if you run service on same host as the client, your config might look as following:
constMAX_CONCUR=15;constRPC_URL='localhost';constRPC_PORT=1317;In the other case, you host actua url and port.
Data from redis is available at the following endpoints:
localhost:3000/api/validators
Using redis-cli:
$ redis-cli
$ config set save ""