Masternode Spread (mn-spread)
Resolves ISP and geo location from a given ip address list and groups this by region and ISP in real-time.
Currently allows two options to fetch data from:
- Parse the IP list from a specific
- Use a local
wallet clito get masternode information
- get list of all active masternode ip addresses of a coin
ipstack apiwith ip address to retrieve information
- analyze and group by location and provider
Its a simple go project that you can just checkout and build an executable. Requires
go get "github.com/cwntr/mn-spread"
go build -o mn && chmod +x mn
github.com/dnaeon/go-vcr/recorderHTTP request/response recorder
github.com/gin-gonic/ginGin Framework to utilize the frontend + APIs
MN spread API
/xsngroups Stakenet's MN nodes IPs by region and provider
/xlqgroups ALQO's MN nodes IPs by region and provider
/graphgroups GRAPH's MN nodes IPs by region and provider
/dashgroups DASH's MN nodes IPs by region and provider
/phoregroups PHORE's MN nodes IPs by region and provider
/nixgroups NIX's MN nodes IPs by region and provider
/xzcgroups ZCOIN's MN nodes IPs by region and provider
/sysgroups SYSCOIN's MN nodes IPs by region and provider
/totalslists current MN nodes IPs counts
/history/:coin/:start-date/:end-datereturns archived .json objects in the given time range. e.g.
/history/xsn/2019-02-01/2019-02-10will return a list of 10 MN spread result objects.
/xsn/governance/totalsreads local XSN wallet cli for total governance stats
/xsn/governance/objectsreads local XSN wallet cli for proposal information
/xsn/governance/object/:hashreads local XSN wallet cli for a specific object (:hash) parameter the object hash
Translate IP to Geo Location / ISP info:
free api key for the
ipstack api is request limited by 10k requests/ month, I decided to record the results. If same
ip is requested again, it will replay the response it received before. So only new ip's will be requested.
Masternode IP data sources
XSN // StakeNet : https://xsnexplorer.io // local XSN wallet-cli
XLQ // ALQO : https://explorer.alqo.org
XZC // ZCOIN : https://www.coinexplorer.net/XZC/masternodes/list
GRAPH // GRAPHCOIN : using local graph wallet cli
SYS // SYSCOIN : https://chainz.cryptoid.info/explorer/masternodes.data.dws?coin=SYS
free template provided by web-framework: