Scores data nodes against peers over time
npm install
# Get the status of all data nodes on fairground
npm start fairground
# Get the status of all data nodes on mainnet1
npm start mainnet1
# Get the status of all data nodes in a given network configuration file
npm start https://raw.githubusercontent.com/vegaprotocol/networks/master/fairground/fairground.toml
# JSON output
JSON=true npm start fairground --silent
# Prometheus output
PROMETHEUS=true npm start fairground --silent
The hash columns are a shortened sha256 hash of some data fetched from the server, so that the consistency across nodes can be compared. A difference in hashes between two nodes means that some part of the data returned is different.
network.toml for the selected networkThe final result is that the set of nodes that are on the same height and agree on the final hashHash are considered to be 'correct', and the nodes that differ will
display some debugging information above the table that points to where the hashes diverge. Divergent hashes of nodes on the same block height suggest a problem with the
node, and aren't necessarily critical errors.
| host | blockHeight | totalPeers | steakHash | marketsHash | assetsHash | governanceHash | hashHash | 🥇 |
|---|---|---|---|---|---|---|---|---|
| api.n06 | - | - | - | - | - | - | - | - |
| api.n07 | 684744 | 9 | eee0fc | 79af09 | dce206 | c90189 | 05cc52 | - |
| api.n08 | 684745 | 9 | eee0fc | 2c5ee0 | dce206 | c90189 | d2b604 | 🥇 |
| api.n09 | 684744 | 9 | eee0fc | 2c5ee0 | dce206 | c90189 | d69503 | - |
| api.n10 | 684745 | 9 | eee0fc | 2c5ee0 | dce206 | c90189 | d2b604 | 🥇 |
| api.n11 | - | - | - | - | - | - | - | - |
| api.n12 | 684744 | 9 | eee0fc | 2c5ee0 | dce206 | c90189 | d69503 | - |
For most cases, the table in the console is sufficient. JSON and Prometheus formats are available via environment variables, see above for how to use them
MIT
Content type
Image
Digest
sha256:ad467d6f5…
Size
23.4 MB
Last updated
over 3 years ago
docker pull vegaprotocol/vaguer