Commit Graph

145 Commits

Author SHA1 Message Date
lunar-mining
e051bcfd2d dnetview: cleaned into 'rpc' and 'parser' modules. simplified main() 2022-08-10 07:08:07 +02:00
lunar-mining
554c17e4cb dnetview: add .2 second delay to UI redraw to reduce CPU usage 2022-08-09 07:34:39 +02:00
lunar-mining
de0681767d dnetview: fixed error which caused scroll to crash when nodes are offline 2022-08-09 06:50:17 +02:00
lunar-mining
1b25019301 book: add network tools section and fix rendering on all sections 2022-08-08 12:04:26 +02:00
lunar-mining
2a24643480 dnetview: simplified View data stuctures + fix NoIdAtIndex bug 2022-08-08 12:04:26 +02:00
parazyd
c0acef85bd Update project dependencies. 2022-08-04 17:50:36 +02:00
parazyd
0063271679 Update project dependencies. 2022-07-03 15:26:35 +02:00
ghassmo
9f819b0dba general clean up and run cargo clippy for all bins 2022-06-29 01:15:03 +03:00
lunar-mining
f92dc65e27 dnetview: implement scroll 2022-06-28 09:00:04 +02:00
lunar-mining
6ae9c3921e dnetview: general cleanup 2022-06-26 21:26:20 +02:00
lunar-mining
e15f3619cd dnetview: move msg len update function to somewhere clearer 2022-06-26 14:50:11 +02:00
lunar-mining
f07a340fdd dnetview: implement previous() and next() on msg list 2022-06-26 14:25:19 +02:00
lunar-mining
14ba10e4b5 dnetview: simplify view's handling of ids + cleanup 2022-06-26 13:19:42 +02:00
lunar-mining
a9711433e4 dnetview: make msg_log into a list 2022-06-26 07:56:27 +02:00
lunar-mining
7d3f7ecc14 dnetview: add line numbers to msg log 2022-06-26 07:56:27 +02:00
lunar-mining
249e4d46b6 dnetview: display null outbound connections as null instead of ignoring 2022-06-23 14:38:19 +02:00
lunar-mining
8e26094717 dnetview: show offline nodes if rpc can't connect 2022-06-22 17:59:23 +02:00
lunar-mining
b593498055 dnetview: get and render remote_node_id. fix bug w unnecessary async thread 2022-06-22 17:13:58 +02:00
lunar-mining
93c786093b dnetview: keep trying to connect in a loop 2022-06-22 16:29:10 +02:00
lunar-mining
89eb222c21 dnetview: display offline nodes even when we can't connect to rpc 2022-06-22 16:29:10 +02:00
lunar-mining
9495c43a2e dnetview: display p2p state w each node 2022-06-21 20:31:32 +02:00
lunar-mining
2eba9954af dnetview: display external_addr as null when it's a null value 2022-06-21 17:39:04 +02:00
ghassmo
01ac20aab4 util/cli: refactoring loading log config & add path for log file 2022-05-31 04:29:03 +03:00
Dastan-glitch
55c828cec9 bin/dnetview: fix format 2022-05-29 21:37:34 +00:00
ghassmo
75072bbb5b dnetview: cargo clippy 2022-05-27 03:44:50 +03:00
parazyd
61bee58239 rpc: Cleanup and separate namespaces into client and server. 2022-05-22 20:54:17 +02:00
parazyd
587f0b4b93 make fix and minor manual cleanups. 2022-05-22 12:29:23 +02:00
lunar-mining
c34330c32e dnetview/ view: removed some debug statements 2022-05-21 09:00:15 +02:00
lunar-mining
837292472e dnetview: final bug fix and clean up
clear active_ids before writing to it to insure offline nodes don't get
saved perpetually
2022-05-21 08:56:12 +02:00
lunar-mining
a5af09e26c dnetview: partial fix for out of bounds index error
* fix bug that make duplicate empty ids
* disable parse_manual
* standard
2022-05-21 00:25:58 +02:00
lunar-mining
85b601b121 dnetview: don't exit poll() when error is returned 2022-05-19 12:21:19 +02:00
lunar-mining
4541e00eac dnetview: propagate errors more descriptively 2022-05-19 12:09:47 +02:00
lunar-mining
fe69bf144a dnetview: explicit error handling when opening an RPC channel 2022-05-19 11:27:06 +02:00
lunar-mining
40b41b527a dnetview: if the RPC cannot connect, render the node as offline. 2022-05-19 10:40:11 +02:00
lunar-mining
9b8ba6329f src/util: create NanoTimestamp tool to get and display nanoseconds
bin/dnetview, src/net/channel.rs: add NanoTimestamp to net and dnetview
2022-05-18 11:15:38 +02:00
parazyd
c63aabf17f Update project dependencies. 2022-05-16 17:40:44 +02:00
lunar-mining
ede61e628a net/ dnetview: add inbound accept_addr to get_info and display 2022-05-16 12:52:50 +02:00
lunar-mining
513cb2b56d net, dnetview: pass util::Timestamp instead of u64
use featureful darkfi time utils instead of basic function
unix_timestamp()
2022-05-15 11:34:58 +02:00
ghassmo
5cec2b98ff rpcclient: don't use Executor for spawn a task 2022-05-13 11:33:02 +03:00
ghassmo
69fe7485b7 dnetview: use the new rpc client api 2022-05-13 07:22:44 +03:00
lunar-mining
0d5e1930e7 dnetview: add timestamp to msg log 2022-05-11 17:22:10 +02:00
ghassmo
d320edeecb bin: upgrade send_request rpc function across bins 2022-05-11 17:20:59 +02:00
lunar-mining
090fc39455 dnetview: add external_addr to node info
* add external addr to Model.NodeInfo
* parse external addr from RPC
* display in View
2022-05-08 12:23:15 +02:00
lunar-mining
40e48eacb0 dnetview: cleanup msg log Span assignment and cargo fmt
cargo fmt picked up a few issus in zk/circuit/lead_contract.rs and
example/lead.rs
2022-05-08 10:39:14 +02:00
lunar-mining
5bc2b32daf dnetview/ README: small tweaks 2022-05-04 09:29:56 +02:00
lunar-mining
fd35254be1 dnetview: update README 2022-05-04 09:26:59 +02:00
lunar-mining
8f7da1c9ac dnetview: check whether selectable object is empty
* handle error that occurs when data is not fully initialized
2022-05-04 08:58:37 +02:00
lunar-mining
4edebb22ab dnetview: fix bugs in error handling
* only render node_info if our data is not empty
* handle when msgs are Null
* print unexpected data to string
2022-05-04 08:50:48 +02:00
lunar-mining
58131d42ce dnetview: add multitail to README 2022-05-03 12:38:19 +02:00
lunar-mining
1e1cdd03d8 dnetview: updated README 2022-05-03 12:34:57 +02:00