parazyd
df13dc12f4
faucetd: Implement skeleton.
2022-04-23 21:21:12 +02:00
parazyd
b02933dcb9
darkfid: Simplify consensus proposal_task.
2022-04-23 21:21:12 +02:00
parazyd
d43d564813
darkfid: Use a flag to participate in consensus.
2022-04-23 21:21:11 +02:00
parazyd
a4dd04daf7
darkfid: Enable consensus task.
2022-04-23 21:21:11 +02:00
parazyd
c55c08b662
darkfid: Implement consensus P2P protocols.
2022-04-23 21:21:10 +02:00
parazyd
fab196067b
darkfid: P2P protocol stub.
2022-04-23 21:21:10 +02:00
parazyd
d77d4dc02c
Update dependencies.
2022-04-23 21:21:10 +02:00
parazyd
c29e1d63fa
darkfid: Use async ctrlc.
2022-04-23 21:21:10 +02:00
parazyd
95d76d08f1
darkfid: Add P2P network stub.
2022-04-23 21:21:10 +02:00
parazyd
b3f5ad1c55
darkfid: Clean up RPC error messages and handling.
2022-04-23 21:21:09 +02:00
parazyd
78c78b1d84
darkfid: More functions and graceful shutdown handlers.
2022-04-23 21:21:09 +02:00
parazyd
ecca1a26ce
darkfid: More WIP for new RPC.
2022-04-23 21:21:09 +02:00
ghassmo
3986a98561
bin/tau: add more debug messgaes
2022-04-23 16:57:35 +03:00
ghassmo
733d4d14ce
Retrieve "bin/tau: remove month date dependency from tasks and orgnize them in pending and completed tasks"
2022-04-23 14:36:47 +03:00
lunar-mining
2e700efdc7
dnetview: create random id when channel is empty
2022-04-23 11:40:44 +02:00
lunar-mining
1301d2576c
dnetview: serialize info into a hex string to create unique ids
2022-04-23 10:33:35 +02:00
Dastan-glitch
184c85c44c
bin/tau: remove month date dependency from tasks and orgnize them in pending and completed tasks
2022-04-23 03:53:34 +03:00
lunar-mining
1b0e12aae4
dnetview/ parse: make NodeId unique to each node
...
solve problem of endless creation of new node_ids. we derive the id from
the node_name, insuring there are no duplicates.
our method for doing this right now is very weird- we convert the String
node_name into a u64. going forward we will likely replace the node_id
with a hash to be more straightforward.
2022-04-22 10:57:24 +02:00
lunar-mining
a9339c8018
dnetview/ error: created ValueIsNotObject error to handle when as_object == None
2022-04-22 08:28:39 +02:00
lunar-mining
fd588ef16c
dnetview/ parse: return SessionInfo from parsing functions + cleanup
2022-04-22 08:03:04 +02:00
lunar-mining
4f8a8cd6d8
dnetview/ parse_data: change if/else parse logic to match
2022-04-21 09:52:12 +02:00
lunar-mining
ec26d1254f
dnetview/ parse_data: add data to model and simplify
...
remove redundant model_vec
2022-04-21 09:08:54 +02:00
lunar-mining
0a7fe06449
dnetview/model: cleanup
2022-04-21 08:22:49 +02:00
lunar-mining
cc96f904b9
dnetview: make info hashmap singular and update README
...
instead of making several info hashmaps like so:
node_info = HashMap<NodeId, NodeInfo>
session_info = HashMap<SessionId, SessionInfo>
we make a single info hashmap:
infos = HashMap<Id, SelectableObject>
this is so we can keep track of what kind of selectable object the ID is
associated with.
2022-04-21 08:15:20 +02:00
Dastan-glitch
d36dd1847e
bin/tau: proper error handling
2022-04-20 21:25:48 -04:00
Dastan-glitch
fe4fe2f483
bin/tau: fixing imports
2022-04-20 20:28:35 -04:00
Dastan-glitch
243dfb882e
bin/tau: splitting tau-cli code, cleanup and adding task state pause
2022-04-20 20:15:14 -04:00
lunar-mining
53f9ba6b2c
dnetview: major refactor of Model/ underlying data structure
...
we create 3 types of info objects, NodeInfo, ConnectInfo, and
SessionInfo. NodeInfo is the parent and ConnectInfo and SessionInfo are children.
These info objects are passed into an enum:
enum SelectableObject {
Node(NodeId)
Session(SessionId)
Connect(ConnectId)
}
We protect this data using mutexes and write it to a hashmap:
Mutex<FxHashMap<u32, SelectableObject>
View has not yet been updated with this new design.
2022-04-19 11:41:40 +02:00
lunar-mining
fc098b894c
dnetview: move data parsing from RPC into isolated function, parse_data()
2022-04-19 11:41:40 +02:00
lunar-mining
4785fd31ff
dnetview: updated README
2022-04-19 11:41:40 +02:00
lunar-mining
566bdf55ea
dnetview: replace Vec<SelectableObject> with NodeInfo on model and view
...
this commit fixes ui::ui(). it's a temporary measure until we finish the
refactor.
2022-04-19 11:41:40 +02:00
lunar-mining
668fae0617
dnetview: create enum SelectableObject and pass to view, model
...
this commit breaks ui::ui()
2022-04-19 11:41:40 +02:00
lunar-mining
a21578088f
dnetview: update README
2022-04-15 11:30:58 +02:00
ghassmo
3658317512
raft: exits gracefully and avoid detaching tasks
2022-04-14 09:33:37 +04:00
ghassmo
039392caa4
bin/tau: using channels instead of vector to receive logs from raft
2022-04-14 08:15:15 +04:00
ghassmo
705f88fde4
bin/tau: remove dataset path from MonthTask and Taskinfo structs
2022-04-13 07:54:45 +04:00
Dastan-glitch
7a11295b26
tau-cli: remove unused comments
2022-04-12 11:42:04 -04:00
Dastan-glitch
854198c78f
tau-cli: using tau config file for rpc address
2022-04-12 11:38:15 -04:00
ghassmo
308fa4d0da
bin/tau: clean up
2022-04-12 15:38:04 +04:00
parazyd
a3ed95ab79
rpc: WIP network transports, and darkfid skeleton for further integration.
2022-04-11 18:44:46 +02:00
ghassmo
0eff8d1b00
bin/taud: fix a bug when adding a task to month_tasks
2022-04-11 13:33:04 +04:00
ghassmo
1b1d0b2828
bin/taud: fix test && update config file
2022-04-11 13:02:20 +04:00
ghassmo
6074736a30
bin/taud: do initial sync on the startup and boradcast the local changes
2022-04-11 11:30:10 +04:00
ghassmo
d51ac9ad8a
bin/tau-cli: minor changes
2022-04-11 11:29:12 +04:00
ghassmo
53a8953ffb
bin/taud: use more general Settings struct for rpc, raft, and dataset configurations
2022-04-11 09:27:57 +04:00
ghassmo
dca3d745b4
bin/taud: udpate commits from raft when receive rpc request
2022-04-11 07:29:50 +04:00
narodnik
76488e64a6
messgae constraint
2022-04-09 17:39:00 +02:00
narodnik
5f550e8112
complete dao exec contract
2022-04-09 17:23:09 +02:00
ghassmo
29e5d4c285
bin/tau: add README.md
2022-04-09 11:27:53 +04:00
ghassmo
7c26f6e394
bin/tau: install tau using Makefile
2022-04-09 11:13:15 +04:00