Commit Graph

6302 Commits

Author SHA1 Message Date
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
parazyd
cf307669aa chore: Update crate dependencies. 2023-07-10 15:19:41 +02:00
parazyd
eae28e888d serial: Port to syn2, and enforce enums to be max u8 for FFI compat. 2023-07-10 15:18:38 +02:00
parazyd
835935eaac serial/derive-internal: Port to syn 2 2023-07-10 14:26:10 +02:00
parazyd
613be6e395 lilith: Increase outbound connection timeout to 30s 2023-07-10 12:27:51 +02:00
parazyd
88681f9c54 net/hosts: Add a couple of useful debug messages in filter_addresses() 2023-07-10 11:51:24 +02:00
parazyd
b76d2e57b5 net/message: Always flush on send_packet() 2023-07-10 11:11:48 +02:00
parazyd
eb6934bc2f research/x3dh: Update to latest curve25519 API 2023-07-10 10:42:32 +02:00
parazyd
c374b796e5 lilith: API fix. 2023-07-09 00:15:18 +02:00
parazyd
c1100588d3 net: Minor behaviour improvements 2023-07-08 23:41:55 +02:00
parazyd
968550a680 util: Clippy lints 2023-07-08 21:19:27 +02:00
parazyd
1f47600402 net: Clippy lints 2023-07-08 21:19:19 +02:00
parazyd
33408bb3a4 net/connector: Do transport mixing inside connect() 2023-07-08 21:17:00 +02:00
parazyd
cec104f1a7 chore: Update wasmer to 4.0.0 2023-07-08 20:32:57 +02:00
parazyd
98ef7c834e chore: Update project dependencies. 2023-07-08 20:17:47 +02:00
parazyd
c0925ebda9 bin: Remove legacy cashierd code. 2023-07-08 19:36:07 +02:00
parazyd
0e372f8f6f research/x3dh: Update dependencies. 2023-07-08 19:32:34 +02:00
aggstam
77067ac615 util/cli: fmt 2023-07-08 19:05:33 +03:00
aggstam
5d63d86083 chore: cleanup 2023-07-08 19:04:47 +03:00