ottodevs / mustekala

Geth Network Status Plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mustekala

Ethereum Network Status PoC

Overview

Mustekala is a patch for go-ethereum, to assist the client on obtaining information about the ethereum network.

What information can I get from musteka.la

  • 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.

Feedback

You can write an issue or, of course, fork this repository and do a pull request.

Installing the patch

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.

Running mustekala

Run mustekala

$GOPATH/src/github.com/ethereum/go-ethereumbuild/bin/mustekala

Options

  • network: Where to get your bootnodes from params. Default is mainnet.
  • verbosity: log verbosity (0-9).
  • vmodule: log verbosity pattern.

Getting information from mustekala

(TODO) (TODO: API)

About

Geth Network Status Plugin

License:GNU General Public License v3.0


Languages

Language:Go 75.7%Language:Shell 24.3%