Commit Graph

6320 Commits

Author SHA1 Message Date
aggstam
73500a25b4 contracts/tests: made consensus coins deterministic, major cleanup in rest 2023-07-20 02:44:19 +03:00
parazyd
d5b4cd9645 darkirc: Implement user modes and set +v for encrypted messages. 2023-07-19 18:23:32 +02:00
parazyd
3c24d42f0e darkirc: Fix some typos 2023-07-19 17:36:35 +02:00
parazyd
5b21ae1c4a darkirc: Implement --gen-secret 2023-07-19 17:32:23 +02:00
parazyd
bcf1f2389a darkirc: Update default config file. 2023-07-19 17:10:47 +02:00
parazyd
372028d706 darkirc: Rename contact_pubkey to public_key. 2023-07-19 17:07:49 +02:00
parazyd
013ad5f514 darkirc: Use "secret" instead of "private" for keypairs. 2023-07-19 17:02:56 +02:00
aggstam
965e2a9ea7 darkfid2: removed trash 2023-07-19 16:48:14 +03:00
aggstam
147022a903 darkfid2-validator: ProtocolTx created 2023-07-19 16:44:39 +03:00
parazyd
f207781d26 contract/test-harness: Use deterministic genesis coin and keypairs. 2023-07-19 15:42:06 +02:00
parazyd
bf2437ec2c util: Implement PCG for a deterministic PRNG used for testing and sim. 2023-07-19 13:56:56 +02:00
aggstam
e62faa1b75 darkfid2: log targets cleanup 2023-07-18 19:32:52 +03:00
aggstam
2af5558273 darkfid2/rpc: pending txs handling methods added 2023-07-18 19:22:53 +03:00
aggstam
9f81e693ed darkfid2/rpc: basic tx methods added 2023-07-18 19:00:52 +03:00
aggstam
48057c25b0 darkfid2/rpc: misc and blockchain methods added 2023-07-18 18:03:42 +03:00
aggstam
21970aed0e darkfid2: networking foundation added 2023-07-18 17:04:23 +03:00
Dastan-glitch
4fc0eb3c4b bin/tau: print info if the workspace is not configured 2023-07-18 02:11:00 +03:00
Dastan-glitch
dd2be36ea4 bin/tau: use save/load tree 2023-07-18 02:10:15 +03:00
Dastan-glitch
1561771deb event_graph: introduce save/load tree methods 2023-07-18 02:08:39 +03:00
Dastan-glitch
d58b1266cf event_grap: generic T to be Send and Sync as well in Seen 2023-07-18 02:06:31 +03:00
Dastan-glitch
7f025c9eb2 bin/tau: rewrite task (en/de)cryption 2023-07-18 02:05:11 +03:00
parazyd
71e6092a29 contract/consensus: Separate client API into functions which allow more control. 2023-07-17 17:38:57 +02:00
ertosns
f20c88b2f1 [research/lotterysim] emulate slashing as random process with certain low probability 2023-07-17 15:36:27 +03:00
ertosns
e9e2de886d [research/lotterysim] update Sigma (total stake) with primary reward with headstart 2023-07-17 15:36:27 +03:00
ertosns
b3a868999d [research/lotterysim] plot from ./log initial stake, apr for each node in plot_darkies.py 2023-07-17 15:36:27 +03:00
ertosns
d7f477e4f9 [research/lotterysim] headstart, remove airdrop 2023-07-17 15:36:27 +03:00
Christoph Lohmann
baaf62358f Remove doubling of macro overview in learn.md. 2023-07-15 19:37:14 +02:00
parazyd
609f2ae04d zk/gadget/less_than: Temporarily disable a failing test case. 2023-07-15 00:36:05 +02:00
parazyd
69c0d7b4f5 zk/gadget/less_than: Improve tests. 2023-07-14 20:10:49 +02:00
aggstam
74d1e21fef WIP: zk/gadget/less_than/tests/less_than_253: P-1 < P check added 2023-07-14 19:28:08 +03:00
parazyd
1b68e015fa tests: Add isolated test for consensus proposal proof. 2023-07-14 17:57:56 +02:00
parazyd
37daecf749 contract/consensus: Use less_than_strict for proposal lottery proof. 2023-07-14 17:57:39 +02:00
parazyd
256bfdee4c zk/gadget: Add test for 253-bit less_than gadget. 2023-07-14 17:54:12 +02:00
aggstam
7f9bed8e50 WIP: contract/consensus/client/proposal: verify coin value is less than slot target before creating proof 2023-07-14 14:01:20 +03:00
parazyd
865a75a0de net/tls: Avoid using deprecated method for client auth. 2023-07-13 19:22:33 +02:00
parazyd
d7c994b679 chore: Update crate dependencies. 2023-07-13 19:22:32 +02:00
parazyd
999fc3890e drk: Use the money contract client API in DAO::Exec 2023-07-13 19:22:32 +02:00
parazyd
feed040f70 contract/money: Return more useful metadata in TransferV1 debris. 2023-07-13 19:22:32 +02:00
parazyd
c359b02dd7 contract/dao: Rewrite integration test using the test harness. 2023-07-13 19:22:32 +02:00
parazyd
21d6978739 contract/test-harness: Implement functionality for the DAO contract. 2023-07-13 19:22:32 +02:00
aggstam
361e53af0c darkfid2/tests: use genesis stake and mint in genesis block 2023-07-12 22:03:29 +03:00
aggstam
dce1fb929d darkfid2: calculate genesis txs total and use that for genesis block validation 2023-07-12 20:23:31 +03:00
aggstam
5c5a6a2aca validator/verification: proper genesis block validation 2023-07-12 15:30:41 +03:00
parazyd
42b3cfd8c7 contract/dao: Fix tests 2023-07-12 12:30:12 +02:00
parazyd
bcd98952a7 contract/money: Implement support for dummy inputs. 2023-07-12 11:39:28 +02:00
parazyd
9ec42c941a walletdb: WIP abstraction 2023-07-11 14:41:06 +02:00
parazyd
3f7031eca2 wallet: Reintroduce sqlcipher. 2023-07-11 13:24:15 +02:00
parazyd
33ed6921e7 darkirc: Port to crypto_box 0.9 and use chacha20 instead of salsa. 2023-07-10 15:46:22 +02:00
parazyd
9c8e60cd2a tau: Port to crypto_box 0.9 and use chacha20 ciphers. 2023-07-10 15:42:13 +02:00
parazyd
9948dfb264 Cargo.toml: Restore curve25519-dalek version pin 2023-07-10 15:27:20 +02:00