856 Commits

Author SHA1 Message Date
aggstam
e12a8e6f1c consensus: quarantine impl added 2022-05-20 20:48:58 +03:00
parazyd
33f6256948 Rework compile_all_bins 2022-05-16 18:46:24 +02:00
parazyd
c63aabf17f Update project dependencies. 2022-05-16 17:40:44 +02:00
parazyd
f8c2ee5617 Port codebase to latest halo2 API. 2022-05-16 17:30:46 +02:00
aggstam
0f3b420122 src/consensus/task/consensus_sync: modified state retrieval, script/consensus_simulation and script/research/node-tools updated, src/util/time: increased retries to 10 2022-05-13 15:04:31 +03:00
aggstam
90cda47154 script/research/clock_sync: moved to src/util/time.rs and src/error.rs, updated cargo dependencies, darkfid2: added system time check at start 2022-05-10 19:01:57 +03:00
aggstam
389208d1da script/research/clock_sync: minor cleanup 2022-05-10 12:41:04 +03:00
aggstam
c27da2b6f4 script/research/clock_sync: code improvements 2022-05-06 18:42:33 +03:00
aggstam
4c1cf3cee6 script/research/clock_sync: simple check to verify system clock 2022-05-05 21:11:50 +03:00
ghassmo
6a1953d801 Merge branch 'tokenblind' 2022-05-05 20:06:58 +03:00
ghassmo
c7225de5fa walletdb: add token_blind to walletdb and sql schema 2022-05-05 19:52:14 +03:00
aggstam
d5b9a811a4 consensus: genesis timestamp hardcoded and retrieved based on network 2022-05-04 21:15:56 +03:00
aggstam
be7fd5fef2 consensus/proto/protocol_sync:handle_receive_block(): consensus nodes exit at function start, nodes-tool: upgraded to latest versions 2022-05-04 20:35:58 +03:00
aggstam
5127263cd3 script/research: renamed redundant TODOs to Missing in consensusd, streamlet_rust and validatord 2022-05-04 16:49:22 +03:00
aggstam
8d6c696e3a consensu/block: added version, consensus/state: fixed epoch 0 participants check, bin/darkfid2: updated config.toml flags, script/consensus_simulation: updated flags 2022-05-04 16:30:08 +03:00
parazyd
609afbd9c7 Rework token lists and ID generation. 2022-04-30 19:45:00 +02:00
parazyd
237badbf24 research/streamlet_rust: Remove Cargo.lock. 2022-04-30 12:17:39 +02:00
parazyd
01724a544d Sync package versions in the repo. 2022-04-28 20:19:04 +02:00
aggstam
341635f12b consensus: minor fixes 2022-04-27 21:08:13 +03:00
aggstam
fcbc935fd9 nodes-tool: modified to work with darkfid2, syncing: changed blocks retriaval method, forking a fork chain impl added, new consensus simulation script added 2022-04-26 19:13:16 +03:00
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