Commit Graph

5217 Commits

Author SHA1 Message Date
aggstam
034bd2fd4f consensus: differentiate bootstrap timestamp from genesis, to not break slot calculation on network restarts 2022-12-20 15:32:29 +02:00
aggstam
249d67e37b p2p/propotocol_address/handle_receive_get_addrs(): shuffle addresses vec
This shuffles is added so when we ask for peers to connect to from seed or in peer discovery, the return vec is shuffled so we don't all end up connected to same nodes
2022-12-19 19:09:07 +02:00
Dastan-glitch
cedabdaffc fix a attribute error in when sending pong msg 2022-12-19 14:00:28 +03:00
parazyd
607dde60d5 contract/money: Add stub for minting arbitrary tokens. 2022-12-19 10:49:52 +01:00
aggstam
1af30e6975 consensus/consensus_sync: fixed stupid check 2022-12-18 21:07:42 +02:00
aggstam
402e313100 consensus: sync fixes and more checks to trigger resync 2022-12-18 20:06:59 +02:00
aggstam
f70dd6c054 consensus: fixed genesis slot eta 2022-12-18 04:25:49 +02:00
aggstam
c8165d5320 consensus: fixes and additions
create coins after sync, eta sync fixed, bootstrap logic added so nodes can start proposing immediately, node wait genesis timestamp if in future
2022-12-18 04:10:49 +02:00
aggstam
f2da17ea1e consensus: verify proposer eligibility via coin age 2022-12-18 02:02:33 +02:00
aggstam
15f4a34daa consensus/task/proposal.rs: typo 2022-12-17 20:13:13 +02:00
aggstam
1f48e01a26 consensus/task/consensus_sync: missing unsbscribe added 2022-12-17 19:32:23 +02:00
aggstam
ae538b08b9 consensus:proposal_task(): redesign completed, consensus minor fixes 2022-12-17 19:25:34 +02:00
aggstam
abfc86c0fb WIP: consensus/consensus_sync(): redesign 2022-12-16 18:40:41 +02:00
parazyd
3cedf88cdc contract/dao: Initial integration tests setup. 2022-12-16 15:38:08 +01:00
parazyd
488e72c803 proof/encrypt.zk: Update with necessary types and opcodes. 2022-12-16 14:13:19 +01:00
parazyd
1c8feadcb6 zkas: Implement EcNiPoint type and EcMulVarBase opcode. 2022-12-16 14:11:59 +01:00
x
f918aab7e2 add example of verifiable encryption 2022-12-16 12:40:44 +01:00
parazyd
3de9cad584 README: Correct libssl dep. 2022-12-16 11:51:41 +01:00
parazyd
8710c13593 Have native contracts use 0 as "x" so it's not possible to produce signatures. 2022-12-16 11:25:21 +01:00
parazyd
18ab818a54 Update toml crate dependency. 2022-12-16 11:17:14 +01:00
parazyd
29414e5b78 Correct libssl dependency in the README. 2022-12-15 22:33:40 +01:00
parazyd
3453a770df Update CI sherrif badge. 2022-12-15 22:06:14 +01:00
parazyd
d091a94d57 money: Fix imports in test harness. 2022-12-15 20:59:48 +01:00
parazyd
0c97a24b58 Clean up makefiles and set the ground floor for upgradable zkas circuits. 2022-12-15 20:43:24 +01:00
aggstam
40313cd6f5 consensus:proposal_task(): sync duration added to reset retries counter 2022-12-15 19:08:40 +02:00
aggstam
d4d5374051 consensus:proposal_task(): added missing import 2022-12-15 18:36:18 +02:00
aggstam
e19da575b9 WIP: consensus/proposal_task(): resync impl added in case node misses a slot due to processing 2022-12-15 18:34:52 +02:00
aggstam
e793bf401e dnetview: support for darkfid sync and consensus p2p networks 2022-12-14 14:48:48 +02:00
parazyd
c853d0e4f1 faucetd: Remove some remaining unused dependencies. 2022-12-14 13:44:10 +01:00
parazyd
73c2dc32ce Move the MiMC VDF into darkfi-sdk 2022-12-14 12:33:40 +01:00
parazyd
9acfed6402 Clippy lints. 2022-12-14 12:30:27 +01:00
parazyd
044d894f40 Update Cargo.lock 2022-12-14 12:01:49 +01:00
parazyd
b5be76738a Clean up some stuff in script/research 2022-12-14 11:59:49 +01:00
spital
01a61404bb add zkas dependency to proofs bin, add/remove binaries in Dockerfiles COPY cmd 2022-12-14 10:37:15 +00:00
parazyd
a5607c0dc6 drk: Remove subscription TODO that has been fixed. 2022-12-14 11:22:00 +01:00
lunar-mining
2584e8e2a4 book/ dnetview: update dnetview log path 2022-12-14 08:59:31 +01:00
parazyd
2b52b16684 Add rand dep to zk feature. 2022-12-13 15:43:31 +01:00
parazyd
88caee7f42 Update and clean up dependencies. 2022-12-13 15:19:09 +01:00
x
c600b447f1 add command to show spent coins 2022-12-13 14:58:13 +01:00
x
422f2900b7 doc: correct misleading sentence 2022-12-13 14:44:33 +01:00
parazyd
805b9b82e9 drk: Initial swap inspection stub. 2022-12-13 12:59:41 +01:00
Dastan-glitch
f975326386 bin/ircd: recover public key from private key 2022-12-12 23:15:10 +03:00
parazyd
93b0eced04 contract/money: Add stub for staking and unstaking coins. 2022-12-12 20:27:26 +01:00
parazyd
78407b9f98 drk: Print a table when listing coins from wallet. 2022-12-12 19:16:34 +01:00
parazyd
affcb77ff0 CI: Install wasm32 Rust toolchain 2022-12-12 19:03:56 +01:00
parazyd
5ed4cecdd9 Makefile: Fix typo 2022-12-12 18:49:28 +01:00
parazyd
9222f9abde Clean up obsolete tests 2022-12-12 18:43:09 +01:00
parazyd
e2f9efa1d2 book: Actual working fix 2022-12-12 18:24:42 +01:00
parazyd
ed86439d8a book: Fix bins path. 2022-12-12 18:14:45 +01:00
parazyd
7f528a7ba4 Attempt faster generation of mdbook using precompiled bins. 2022-12-12 18:12:43 +01:00