Improve list-nodes command output (#681)

tidied up list-nodes command output:

made the table narrower (to fit on the screen);
made numbers humanized;
added nodes state (useful with SHUTTING_DOWN state);
added retransmitted packets per second.
This commit is contained in:
Ivan
2022-05-11 09:57:44 -07:00
committed by GitHub
parent a1caeeb8de
commit 9eacad04c9
3 changed files with 43 additions and 26 deletions
+1
View File
@@ -4,6 +4,7 @@ go 1.17
require (
github.com/bep/debounce v1.2.0
github.com/dustin/go-humanize v1.0.0
github.com/elliotchance/orderedmap v1.4.0
github.com/gammazero/deque v0.1.0
github.com/gammazero/workerpool v1.1.2