Commit Graph

136 Commits

Author SHA1 Message Date
aggstam
4589153852 script/research/nodes-tool: use new src/consensus structs 2022-04-25 14:56:48 +03:00
aggstam
70ffc7e0c4 src/consensus: moved under script/research/validatord workspace 2022-04-25 14:26:50 +03:00
parazyd
f4bab15776 Update dependencies and CI. 2022-04-23 21:21:19 +02:00
parazyd
9f1e9b1401 CI: Install jq as dependency, and make compile_all_bins script generic. 2022-04-23 21:21:18 +02:00
parazyd
ac46e46e49 wallet: Store merkle tree leaf positions for own coins. 2022-04-23 21:21:13 +02:00
parazyd
d77d4dc02c Update dependencies. 2022-04-23 21:21:10 +02:00
aggstam
a4c1e3b6de validatod: misc fixes and cleanups 2022-04-22 01:49:23 +03:00
aggstam
d7bf42a67f validatord/protocol_sync.rs: handle_receive_block correct flag value handling 2022-04-21 20:02:10 +03:00
aggstam
66baa52e91 validatord/protocol_sync.rs: handle_receive_block to be executed based on node mode flag 2022-04-21 19:58:31 +03:00
aggstam
bae1ce4ad3 validatord: removed dummy log message used for testing 2022-04-21 16:46:08 +03:00
aggstam
9e613d514a validatord: moved tx protocol and json rpc to main p2p subnet, protocol_sync.rs: upon receiving finalized block, node removes blocks txs from unconfirmed_txs, /src/consensus/state.rs: decoupled removal of unconfirmed txs 2022-04-21 16:40:52 +03:00
aggstam
c217030367 validatord: sync tasks and protocols implemented 2022-04-21 04:43:37 +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
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
aggstam
a9b5777861 src/consensu: block metadata modifications, proper hash handling, misc cleanups 2022-04-15 20:58:32 +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
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
ghassmo
0eff8d1b00 bin/taud: fix a bug when adding a task to month_tasks 2022-04-11 13:33:04 +04:00
ghassmo
e85a29a05c fix ci check "compile all bins" 2022-04-11 10:01:00 +04:00
aggstam
8ea28e752f src/consensus: blake3 hashes used insted of String, removed serde Deserialize/Serialize (finally) 2022-04-09 14:40:32 +03:00
parazyd
2ff3c189e8 Remove obsolete sraft research implementation. 2022-04-07 10:18:56 +02:00
ghassmo
6a5cc6dbe1 add raft as a feature to darkfi lib 2022-04-07 11:50:18 +04:00
ghassmo
0b75044e0a script/research/raft_p2p: remove borsh crate 2022-04-07 10:57:49 +04:00
ghassmo
10de8ad3e2 script/research/raft_p2p: load p2p hosts ips as nodeids 2022-04-07 10:42:39 +04:00
ghassmo
5f0c516b1f script/research/raft_p2p: integrate Sled and save logs in local storage 2022-04-07 09:23:33 +04:00
ghassmo
5c4f8727f3 script/research/raft_p2p: WIP full implementation of raft algorithm with p2p network 2022-04-06 17:07:46 +04:00
aggstam
08a7f09344 validatord: simulation folder removal command replaced 2022-04-05 22:29:17 +03:00
aggstam
267e1d2016 validatord: state storage moved from jsonfile to sled 2022-04-05 22:23:00 +03:00
aggstam
bc49396a64 validatord: participants logic implemented 2022-04-01 23:33:07 +03:00
parazyd
56436d0ab9 research: Simple raft consensus implementation. 2022-04-01 11:43:42 +02:00
mohab
4eab2062ed [script/research/crypsinous] added nodes on transactions 2022-03-31 18:01:39 +02:00
mohab
7c5b224885 [script/research/crypsinous] added transfer statment summary 2022-03-31 12:23:07 +02:00
aggstam
65e827df1e validatord: proper p2p messages handling, n nodes simulation 2022-03-30 22:09:20 +03:00
aggstam
07b27791b0 validatord: added votes orphans impl, removed artificial delays when voting, remove +nightly from simulation 2022-03-29 01:01:21 +03:00
mohab
9ab936d960 [script/research/crypsinous] update docs 2022-03-28 19:59:41 +02:00
aggstam
bcf0975d82 jsonrpc: quick results handling 2022-03-28 19:59:40 +02:00
aggstam
3328887294 validatord: jsonrpc cleanup 2022-03-28 19:59:40 +02:00
aggstam
2247faefdc validatord: proper 4 node local simulation impl added 2022-03-28 19:59:39 +02:00
aggstam
2498ef316f validatord: updated crate versions 2022-03-28 19:59:39 +02:00
aggstam
5a00ea2c51 validatord: p2p impl for all consensus messages implemented, consensus structures added at src/consensus, WIP: consensus network 2022-03-28 19:59:38 +02:00
parazyd
9b429d9b6c Update dependency versions. 2022-03-28 19:59:38 +02:00
ghassmo
3fcc08c6aa bin/taud: add crdt module 2022-03-28 19:59:37 +02:00
ghassmo
3e76241ddd script/research/crdt: use log_config from darkfi::util 2022-03-28 19:59:37 +02:00
ghassmo
61d2595e6a script/research/crdt: use generic for send/receive event inside Node &
add debug messages
2022-03-28 19:59:37 +02:00
ghassmo
cb841d3fe6 script/research/crdt: WIP implement P2p for crdt node 2022-03-28 19:59:37 +02:00
aggstam
cbcb90ca6b script/research/validatord: minor cleanup 2022-03-28 19:59:36 +02:00
aggstam
e321b99a48 script/research/validatord/simulation: fixed ports in commands. 2022-03-28 19:59:36 +02:00
aggstam
e5b507693c script/research/validatord: Core validator boilerplate implementation, using p2p network. 2022-03-28 19:59:36 +02:00