Go to file
Ethan Buchman d52f690e56 reconnect validator 2016-02-02 20:21:16 -05:00
Godeps reconnect validator 2016-02-02 20:21:16 -05:00
handlers reconnect validator 2016-02-02 20:21:16 -05:00
types reconnect validator 2016-02-02 20:21:16 -05:00
vendor reconnect validator 2016-02-02 20:21:16 -05:00
LICENSE.md agpl 2016-01-27 10:59:01 -05:00
README.md some refactoring; fixes; readme 2016-01-15 17:01:01 -05:00
local-chain.json go vendor; track uptime, health 2016-02-02 16:20:07 -05:00
log.go go vendor; track uptime, health 2016-02-02 16:20:07 -05:00
main.go go vendor; track uptime, health 2016-02-02 16:20:07 -05:00
setup.sh add setup.sh 2016-01-21 23:06:14 -05:00

README.md

netmon

blockchain network monitor

#Quick Start

To get started, install golang and set your $GOPATH.

Install tendermint, tmsp, and the netmon:

go get github.com/tendermint/tendermint/cmd/tendermint
go get github.com/tendermint/tmsp/cmd/...
go get github.com/tendermint/netmon

Initialize and start a local tendermint node with

tendermint init
dummy &
tendermint node --fast_sync=false --log_level=debug

In another window, start the netmon with

netmon monitor $GOPATH/src/github.com/tendermint/netmon/local-chain.json

Then visit your browser at http://localhost:46670.

The chain's rpc can be found at http://localhost:46657.

Notes

The netmon expects a config file with a list of chains/validators to get started. A default one for a local chain is provided as local-chain.json. netmon config can be used to create a config file for a chain deployed with mintnet.

The API is available as GET requests with URI encoded parameters, or as JSONRPC POST requests. The JSONRPC methods are also exposed over websocket.