Ethereum Network Status PoC
Mustekala is a patch for go-ethereum
, to assist the client on obtaining
information about the ethereum network.
- List of discovered nodes
- Status of connection of these nodes
- Node Discovered
- TCP Dial failed
- Encryption Handshake failed
- Protocol Handshake failed
- Get Status failed
- Get Status succeed
Tipically, when you reach Get Status succeed
, is when you can actually
connect to a node, and synchronize from it.
You can write an issue or, of course, fork this repository and do a pull request.
You need to have go-ethereum
in the directory
$GOPATH/src/github.com/ethereum/go-ethereum
And run the command
./install_patch
This will copy the contents of the directory patch
into the new directories /mustekala
and /cmd/mustekala
in go-ethereum
, and build your mustekala
executable.
Run mustekala
$GOPATH/src/github.com/ethereum/go-ethereumbuild/bin/mustekala
network
: Where to get your bootnodes from params. Default ismainnet
.verbosity
: log verbosity (0-9).vmodule
: log verbosity pattern.
(TODO) (TODO: API)