Commit Graph

3143 Commits

Author SHA1 Message Date
x
4379ffdafc darkfi-sdk-python: Clean up doc and support zkbin.k() 2023-07-28 21:48:15 +00:00
aggstam
9cd9d13456 chore: comment typos 2023-07-27 19:09:20 +03:00
aggstam
2a35e0af83 blockchain: overlay pointers handling 2023-07-27 18:42:41 +03:00
parazyd
139795ecc4 net/hosts: Implement quarantine zone for better healing on disconnects. 2023-07-27 12:31:45 +02:00
parazyd
a4eb3e1e2b util/encoding: Add base64 encoder and decoder. 2023-07-27 10:58:20 +02:00
parazyd
9ee57c1d13 net/channel: Logging aesthetics 2023-07-26 09:56:08 +02:00
aggstam
4a73c46ebc darkfid2/validator: consensus p2p foundation laid out 2023-07-25 18:30:34 +03:00
aggstam
51910ba346 chore: updated sled-overlay package 2023-07-25 17:23:24 +03:00
aggstam
f46af32758 darkfid2: skip-sync flag added, block on sync to wait for peers connection 2023-07-24 16:47:54 +03:00
aggstam
03ddfdfb3c darkfid2: node blocks sync implemented 2023-07-24 14:36:35 +03:00
parazyd
f4a54d21ec sdk: Remove unused sha2 dependency. 2023-07-22 17:59:01 +02:00
parazyd
7346bac61a Minor rustdoc warning fixes. 2023-07-22 16:44:24 +02:00
parazyd
0c7dbc4460 zk/vm: Implement first part of conditional chip selection.
Signed-off-by: parazyd <parazyd@dyne.org>
2023-07-22 16:22:26 +02:00
Dastan-glitch
f7b91d32cd event_graph: remove unneeded update_root method 2023-07-22 16:56:59 +03:00
parazyd
60595e3002 zk: Handle invalid witnesses gracefully in empty_witnesses(). 2023-07-22 15:42:45 +02:00
aggstam
a1466e1520 darkfid2/tests: use P2P to pass blocks between nodes 2023-07-22 16:23:15 +03:00
parazyd
e049fb47cc zk/vm: Stub dynamic params. 2023-07-22 15:04:17 +02:00
parazyd
135283a31c zk/vm: Initialize chips as options, which are Some when available. 2023-07-22 14:54:52 +02:00
parazyd
385f6fe857 zk/vm: cargo fmt 2023-07-22 14:19:23 +02:00
parazyd
5a10d631e3 zk/vm: Add scaffolding for circuit optimisation. 2023-07-22 14:17:42 +02:00
parazyd
d34b9cbb03 chore: Update crate dependencies 2023-07-22 13:16:16 +02:00
aggstam
58556db990 contract/test-harness/vks: updated VKS-PKS hashes 2023-07-22 14:14:56 +03:00
parazyd
8ac1d17077 Use k param from ZkBinary when building VerifyingKey and ProvingKey. 2023-07-22 12:04:41 +02:00
parazyd
8a4fec6745 zkas: Enforce MAX_K and MAX_NS_LEN. 2023-07-22 11:49:27 +02:00
parazyd
3d5896b89b contract/money: Replace token pedersen commitment with a poseidon hash. 2023-07-22 08:56:04 +02:00
aggstam
0cc61ccaa9 validator/proto: BlockInfo protocol added 2023-07-21 19:20:50 +03:00
aggstam
56130e1699 validator: improved log targets 2023-07-21 14:24:42 +03:00
aggstam
d9eed23013 blockchain: simplyfied Slot structure 2023-07-21 14:05:40 +03:00
parazyd
a1bfd10a7d contract/test-harness: Revert to using a single reference for ProvingKey map. 2023-07-20 23:28:19 +02:00
aggstam
53cdc50e15 chore: clippy 2023-07-20 17:58:22 +03:00
Dastan-glitch
12c628efdb zk: use reference instead of cloning 2023-07-20 16:17:49 +03:00
Dastan-glitch
28ad81da46 zk: CI fix - implement missing Params 2023-07-20 16:02:33 +03:00
parazyd
05991cda50 contract/test-harness: Use precompiled zk proving keys 2023-07-20 14:26:52 +02:00
parazyd
3cfee55f23 zk: Update to halo2 with dynamic circuit config and implement ProvingKey serialization. 2023-07-20 14:19:52 +02:00
parazyd
29101c4e02 zk: Pass a ZkBinary reference to ZkCircuit::new instead of cloning. 2023-07-20 14:19:52 +02:00
parazyd
99f68db953 zkas: Enforce k declaration on top of the source file. 2023-07-20 14:19:52 +02:00
parazyd
8d07dc2258 chore: Update crate dependencies 2023-07-20 12:23:58 +02:00
aggstam
37d7461a53 contract/money/tests.mint_pay_swap: fixed test 2023-07-20 04:11:10 +03:00
aggstam
7c6a2b912c chore: minor cleanup 2023-07-20 03:11:12 +03:00
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
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
9f81e693ed darkfid2/rpc: basic tx methods added 2023-07-18 19:00:52 +03:00
aggstam
21970aed0e darkfid2: networking foundation added 2023-07-18 17:04:23 +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
parazyd
71e6092a29 contract/consensus: Separate client API into functions which allow more control. 2023-07-17 17:38:57 +02:00
parazyd
609f2ae04d zk/gadget/less_than: Temporarily disable a failing test case. 2023-07-15 00:36:05 +02:00