lunar-mining fd35254be1 dnetview: update README 4 лет назад
..
src 8f7da1c9ac dnetview: check whether selectable object is empty 4 лет назад
Cargo.toml 0ba3dece3a dnetview: custom error handling 4 лет назад
README.md fd35254be1 dnetview: update README 4 лет назад
dnetview_config.toml acb77e5be9 display node name instead of rpc_url 4 лет назад

README.md

dnetview

A simple tui to explore darkfi ircd network topology.

dnetview displays:

  1. all active nodes
  2. outgoing, incoming and manual sessions
  3. each associated connection and recent messages.

dnetview is based on the design-pattern Model, View, Controller. We create a logical seperation between the underlying data structure or Model; the ui rendering aspect which is the View; and the Controller or game engine that makes everything run.

install

% git clone https://github.com/darkrenaissance/darkfi 
% cd darkfi
% make BINS=dnetview

usage

On first run, dnetview will create a config file in .config/darkfi. You must manually enter the RPC ports of the nodes you want to connect to and title them as you see fit.

Check the example config file for more details.

Run dnetview as follows:

dnetview -v

Navigate up and down using j and k.

Dnetview creates a logging file in /tmp/dnetview.log. To see json data and other debug info, tail the file like so:

tail -f /tmp/dnetview.log

Or use multitail for colored output:

multitail -c /tmp/dnetview.log