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
ghassmo
ffc16cc985
example/p2pdebug: using net2 for debugging
2022-04-20 17:17:40 +03:00
ghassmo
cd46d368e6
create net2 module with support for multi transport protocol
2022-04-20 17:17:40 +03:00
aggstam
71cd403ceb
scr/consensus: BlockOrderStore created, validatord: retrieve last block info from sled (removed redudant ConsensusState attributes), added subnets configs, simulation script modified, nodes-tool: removed redudant info
2022-04-19 16:27:53 +03: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
mohab
5686a6b093
[crypsinous/doc/architecture/blockchain] added scalar linear leader slection function
2022-04-19 06:06:24 +02:00
aggstam
4ed5fb001b
Revert "src/consensus: removed fixed genesis timestamp (if sled db doesn't exists it restarts from current timestamp)"
...
This reverts commit 425d339c43 .
2022-04-17 16:50:58 +03:00
aggstam
425d339c43
src/consensus: removed fixed genesis timestamp (if sled db doesn't exists it restarts from current timestamp)
2022-04-17 15:10:08 +03:00
narodnik
d1d4859169
send/recv log per channel for json-rpc debugging
2022-04-16 11:56:25 +02:00
aggstam
a9b5777861
src/consensu: block metadata modifications, proper hash handling, misc cleanups
2022-04-15 20:58:32 +03:00
lunar-mining
a21578088f
dnetview: update README
2022-04-15 11:30:58 +02:00
aggstam
d7bceafba5
src/consensus: misc vote validations
2022-04-14 16:40:09 +03:00
aggstam
7a34ec3d45
src/consensus: split state, fully sled integration, modified nodes-tool to extract all sled db data
2022-04-14 13:19:11 +03: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
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