Commit Graph

2952 Commits

Author SHA1 Message Date
parazyd
54def23988 book: Add DarkFi Node Architecture (DNA) 2022-04-13 11:35:49 +02:00
ghassmo
b9738db087 src/net: keep importing dependencies in order 2022-04-13 08:08:01 +04:00
ghassmo
705f88fde4 bin/tau: remove dataset path from MonthTask and Taskinfo structs 2022-04-13 07:54:45 +04:00
ghassmo
07c8e12120 src/raft: catch errors cause the algorithm to crash 2022-04-13 07:53:47 +04:00
ghassmo
1424949a69 src/net: little fix 2022-04-13 07:52:43 +04:00
ghassmo
7a883a3987 add net feature to rpc module 2022-04-12 17:04:26 +04:00
ghassmo
75a1321372 src/raft: using get() instead of indexing into hashmap and vector to avoid panic! 2022-04-12 17:04:26 +04:00
ghassmo
bd4695f7ca src/error: add raft error type 2022-04-12 17:04:26 +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
3a12cc2674 src/raft: fix bugs & add logs messages 2022-04-12 15:38:45 +04:00
ghassmo
308fa4d0da bin/tau: clean up 2022-04-12 15:38:04 +04:00
ghassmo
d23c005664 example/p2pdebug: minor changes 2022-04-12 15:35:49 +04:00
ghassmo
394daad1f7 make example/p2pdebug crate for debugging/testing the p2p network code 2022-04-12 10:59:34 +04:00
ghassmo
2192f70b8d src/net: fix a bug causing intensive CPU usage 2022-04-12 09:16:47 +04:00
parazyd
a3ed95ab79 rpc: WIP network transports, and darkfid skeleton for further integration. 2022-04-11 18:44:46 +02:00
aggstam
ab7eb937ad WIP:script/research/nodes-tool: dummy tool to extract validatord state from sled to a json like file 2022-04-11 15:38:13 +03:00
aggstam
56186fc49e src/consensus: fork chains to use BlockProposal strusture, cleanup, encode_payload! macro added 2022-04-11 15:38:13 +03:00
parazyd
2505f9ebf6 example: Add integration test for contract. 2022-04-11 12:53:13 +02:00
parazyd
46d64a5ce3 example" Add example smart contract implementation. 2022-04-11 12:23:15 +02:00
ghassmo
0eff8d1b00 bin/taud: fix a bug when adding a task to month_tasks 2022-04-11 13:33:04 +04:00
parazyd
a3fe1de486 crypto: Derive PartialOrd and Ord for MerkleNode. 2022-04-11 11:13:23 +02: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
e85a29a05c fix ci check "compile all bins" 2022-04-11 10:01:00 +04:00
ghassmo
6b32ae6db1 little clean up using cargo clippy 2022-04-11 09:57:30 +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
f674650891 src/util: convert UrlConfig to SocketAddr 2022-04-11 09:26:22 +04:00
ghassmo
d0778e890f error: implement InfallibleError 2022-04-11 09:24:43 +04:00
ghassmo
dca3d745b4 bin/taud: udpate commits from raft when receive rpc request 2022-04-11 07:29:50 +04:00
narodnik
ae6d27001c Merge branch 'pil' 2022-04-10 05:27:41 +02:00
piltom
891484d196 net/transport improve tor docs 2022-04-10 00:42:51 +02:00
piltom
cca7fcc18c net/transport remove error not used 2022-04-09 23:28:12 +02:00
piltom
7cbf0bd95b net/transport remove unnecessary pub 2022-04-09 23:24:01 +02:00
piltom
4dbd513418 net/transport add tor transport 2022-04-09 20:16:23 +02: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
aggstam
d8f5adf23e CL checks conflicts resolved 2022-04-09 14:51:50 +03:00
aggstam
8ea28e752f src/consensus: blake3 hashes used insted of String, removed serde Deserialize/Serialize (finally) 2022-04-09 14:40:32 +03: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
ghassmo
2b9a24172a bin: move tau-cli taud to tau directory 2022-04-09 10:08:08 +04:00
ghassmo
5a7258d7f1 bin/taud: run tau on raft network 2022-04-09 09:56:44 +04:00
ghassmo
6dd107f4d4 bin/tau-cli: add listen command for cli 2022-04-09 09:53:52 +04:00
ghassmo
277e908865 raft: prevent a listener node from request/response votes 2022-04-09 09:12:56 +04:00
lunar-mining
ba355bc95c test/arithmetic_proof: add simplelog and set to Debug 2022-04-08 16:16:58 -05:00
narodnik
570d5337bf basic dao zk contracts 2022-04-08 06:27:12 +02:00
parazyd
41ef7b550a Update halo2 dependencies. 2022-04-07 11:48:35 +02:00
parazyd
6479851e40 vanityadr: Remove serde_json dependency. 2022-04-07 11:41:51 +02:00