Skip to content

simple utility to compare the node's latest block with the source of truth

License

Notifications You must be signed in to change notification settings

mandrigin/near-deer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Near Deer

A simple utility to compare the node's latest block with the source of truth (checks against https://rpc..near.org/status)

It provides an HTTP endpoint /health that returns either 200OK is the node is in sync, and 500 if it is not.

Example usage:

all custom params

go run ./cmd/deer -network=testnet -node=http://localhost:3030 -port 30303 -host 0.0.0.0 -threshold 10

checking mainnet for a local node with rpc on 3030 and hosting the app on 8080 of localhost, at most 3 blocks behind (all defaults)

go run ./cmd/deer

About

simple utility to compare the node's latest block with the source of truth

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages