ghassmo
2dfafeef1d
bin/taud: impl sync event for crdt
2022-03-31 09:52:03 +04:00
Dastan-glitch
1d64574bd8
bin/tau-cli: using three colors for max, mean and min rank
2022-03-30 00:19:20 -04:00
Dastan-glitch
9821f2db62
accepting float numbers for rank and implementing Encodable and Decodable traits for f64
2022-03-30 00:15:50 -04:00
ghassmo
b279caebf9
bin/taud: minor change
2022-03-29 07:49:39 +04:00
Dastan-glitch
70b43ca29b
bin/tau-cli: add show subcommnd and minor fixes
2022-03-28 22:04:30 -04:00
lunar-mining
4a748d85f1
Merge branch 'master' of github.com:darkrenaissance/darkfi
2022-03-28 23:53:39 +02:00
parazyd
f940f653b2
General clippy cleanups.
2022-03-28 21:03:17 +02:00
ghassmo
d0549ce08b
bin/taud: cargo clippy
2022-03-28 19:59:40 +02:00
ghassmo
3958becf6a
bin/taud: fix tests
2022-03-28 19:59:40 +02:00
ghassmo
fb68a93ad7
bin/taud: remove boilerplate codes when parsing json Value objects
2022-03-28 19:59:40 +02:00
ghassmo
fbbcb1842b
bin/taud: check if due timestamp is not less than current timestamp
2022-03-28 19:59:39 +02:00
ghassmo
bab301a970
bin/taud: create error type
2022-03-28 19:59:39 +02:00
ghassmo
b8b3a5a03b
bin/taud: rpc notify crdt when receive update
2022-03-28 19:59:39 +02:00
ghassmo
637877d49f
bin/taud: using serialization derives
2022-03-28 19:59:39 +02:00
parazyd
9abf62c980
Miscellaneous cleanups.
2022-03-28 19:59:39 +02:00
parazyd
9b429d9b6c
Update dependency versions.
2022-03-28 19:59:38 +02:00
ghassmo
3e33a2f1d5
bin/taud: remove allow(dead_code) macro
2022-03-28 19:59:38 +02:00
ghassmo
e721860e03
bin/taud: impl Encodable/Decodable for TaskInfo
2022-03-28 19:59:38 +02:00
ghassmo
1d5268fda8
bin/taud: impl Encodable/Decodable for Timestamp
2022-03-28 19:59:37 +02:00
ghassmo
7d20233b5d
bin/taud: run crdt node in taud
2022-03-28 19:59:37 +02:00
ghassmo
2280240d09
bin/taud: move rpc code to separate file
2022-03-28 19:59:37 +02:00
ghassmo
3fcc08c6aa
bin/taud: add crdt module
2022-03-28 19:59:37 +02:00
Dastan-glitch
c0b42be855
bin/tau-cli: clean-up
2022-03-28 19:59:37 +02:00
parazyd
29c0cb9c09
Update dependency versions throughout project.
2022-03-28 19:59:37 +02:00
Dastan-glitch
f868f0a358
bin/tau-cli: highest rank is bright, some clean-ups
2022-03-28 19:59:36 +02:00
ghassmo
112eb720dc
bin/taud: fix ci tests
2022-03-28 19:59:34 +02:00
ghassmo
a80225b0a7
bin/taud: don't pass timestamp params to list function
2022-03-28 19:59:34 +02:00
lunar-mining
d6b48f71a8
remove Addr structs and cleanup
2022-03-20 11:21:14 +01:00
Dastan-glitch
7b8e34fd9c
bin/tau-cli: add get-comment subcommand
2022-03-19 17:39:47 -04:00
ghassmo
9ea0a43543
bin/tau-cli: more clean and explicit way to use args
2022-03-19 15:44:32 +04:00
lunar-mining
ba574bd75c
create new data structures to enable addr sub-list
2022-03-19 09:23:05 +01:00
lunar-mining
6e5d94c632
ui: removed redundant is_empty check
2022-03-19 07:43:15 +01:00
lunar-mining
845040f978
small fix on Empty slot data
...
* Stopped pasting "Empty" on top of "Null"
2022-03-19 07:38:06 +01:00
lunar-mining
acb77e5be9
display node name instead of rpc_url
...
* read name param from config and display in UI
* rename node_id to rpc_url
2022-03-19 07:22:08 +01:00
lunar-mining
f19aeeecc8
add 'name' param to dnetview_config.toml
2022-03-19 07:13:00 +01:00
lunar-mining
344e06f7c8
rename Map struct to DNetView
2022-03-19 07:12:36 +01:00
parazyd
33b732516b
vanityaddr: Remove "util" feature from darkfi dependency.
2022-03-19 01:07:49 +01:00
Dastan-glitch
bcd5fed5f0
bin/tau-cli: sort tasks by rank and clean-up
2022-03-18 21:38:58 -04:00
ghassmo
0373d8e090
bin/tau-cli: clean up
2022-03-19 01:44:45 +04:00
parazyd
59687a60ee
vanityaddr: Add example on how to handle SIGINT with channels.
...
Another good approach as well is to consider everyting inside
rayon_pool.install() as the main() function and do things in there for
some weird simplicity. With this, one does not need to use another
channel to get a value out of the closure.
2022-03-18 22:23:18 +01:00
ghassmo
75d01fb0cb
bin/dnetview: use fxhash for HashMap and HashSet
2022-03-19 00:52:33 +04:00
ghassmo
937e06ec4f
Replace HashMap with FxHashMap
2022-03-18 23:19:13 +04:00
lunar-mining
d773815e63
bug fix: only render title if it's not empty
2022-03-18 18:56:31 +01:00
lunar-mining
6165a9fb96
bug fix: stop rendering outbound recursively
...
move outbound outside loop
2022-03-18 18:56:31 +01:00
lunar-mining
ce810207e9
bug fix: only print Incoming/ Outgoing/ Manual once
...
move title outside for loop so it doesn't get printed recursively.
2022-03-18 18:56:31 +01:00
lunar-mining
7b57c39314
bug fix: stop saving duplicate incoming values
...
removed nested loop that was causing incoming data to be saved twice.
2022-03-18 18:56:31 +01:00
lunar-mining
1e7c8c09eb
model: add is_empty param to Slot, OutboundInfo and InboundInfo
...
discard empty connections efficiently and only render when is_empty
== false.
for outbound connections, use iter().all() to ensure that is_empty is
only set to false when all slots are empty.
2022-03-18 18:56:31 +01:00
lunar-mining
9e14a3849f
ui: add debug info
2022-03-18 18:56:31 +01:00
lunar-mining
7895493c84
ui: don't render Incoming sessions if they are empty
2022-03-18 18:56:31 +01:00
parazyd
660c6184ca
taud: Abstract getting config file to a util function.
2022-03-18 18:26:08 +01:00