Skip to content
grin node statistics by finding all the nodes in the network.
Go TSQL
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
chart
config
data
ip bug fix Feb 16, 2020
log
logs
p2p
storage
templates
.gitignore
README.md
go.mod
grinnodes.service
main.go
sqlite.sql

README.md

grinnodes

grin node statistics by finding all the nodes in the network.


This program use sqlite to store node info.

The locations, company information of IP adddresses come from https://ipapi.co and https://api.ipdata.co

Use https://www.mapbox.com to display the node on the map.

Running

  • make the database file node.db in data folder use the sqlite.sql file.
  • configuration file config.toml in the data folder:
    • mapbox_key: token of mapbox
    • ipdata_key: token of https://api.ipdata.co
    • peer_active_duration: how long time from last seen in network the node is active in the seconds
    • peer_clear_duration: how long time from last seen in network the node will delete
You can’t perform that action at this time.