865 Commits

Author SHA1 Message Date
aggstam
52be7a0764 script/research/raft-tool: basic tool to extract all data from raft Database 2022-06-15 15:17:21 +03:00
parazyd
93f9d3f976 research/poseidon: Merge constants with main module. 2022-06-14 13:50:29 +02:00
aggstam
35c459db9a Cargo.toml: features updates, util/time.rs: replaced worldtime api request with jsonrpc request towards network nodes, darkfid: configuration check for new clock check impl, contrib/localnet + script/consensu_simulation: added new config args, faucted: removed unnessesary clock check, src/error.rs: new ConfigInvalid error and removed NTP error 2022-06-13 18:23:27 +03:00
aggstam
93ae339b5f consesus: epoch added 2022-06-05 15:27:21 +03:00
parazyd
1b3fc53362 research: Oblivious PRF. 2022-06-03 12:07:39 +02:00
aggstam
ca660f5fe0 darkfid, faucetd: optional clock sync(config/args based) 2022-06-02 17:09:43 +03:00
parazyd
2cdf307ac8 research/poseidon: Clean up and add explanations. 2022-05-23 14:11:37 +02:00
parazyd
05ee180af6 research: python poseidon hash implementation for pallas. 2022-05-23 13:16:09 +02:00
parazyd
0beab27e31 research: Remove obsolete Rust code. 2022-05-22 20:54:17 +02:00
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