Skip to content
Storj v3 network statistics
Go JavaScript HTML CSS Shell
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.
migrations
scripts
www
.gitignore
README.md
db.go
geo.go
go.mod
go.sum
import.go
main.go
run_node_with_stat.sh
server.go
storagenode.diff
storjnet-http.service
update.go
utils.go

README.md

StorjInfo

Starts single node and saves node IDs from incoming connections. Preriodically updates nodes info by calling LookupNode and NodeInfo.

May go down after upcoming Kademlia removal. Or may not, details yet unclear.

DB setup

createuser storjinfo -P  # with password "storj"
createdb storjinfo_db -O storjinfo --echo
psql -U storjinfo storjinfo_db -c "CREATE SCHEMA storjinfo"

go run migrations/*.go init
go run migrations/*.go

Building

go build -v

Start collecting data

Start storj node listening on --server.private-address 127.0.0.1:7778 (it's default value but forwarding may be required in case of docker).

Then do ./storj3stat run.

Start HTTP server

./storj3stat start-http-server

You can’t perform that action at this time.