You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Ethan Buchman 1b81863ef7 NewBlockHeader event 9 years ago
Godeps update event meter 9 years ago
handlers NewBlockHeader event 9 years ago
types NewBlockHeader event 9 years ago
vendor update event meter 9 years ago
LICENSE.md agpl 9 years ago
README.md fixes for mintnet types 9 years ago
local-chain.json go vendor; track uptime, health 9 years ago
log.go go vendor; track uptime, health 9 years ago
main.go bench by nblocks or ntxs 9 years ago
setup.sh app init script 9 years ago

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. Configs are also generated by 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.

TODO

  • log metrics for charts
  • mintnet rpc commands
  • chain size
  • val set changes
  • more efficient locking / refactor for a big select loop