123 Commits

Author SHA1 Message Date
x
3aa0e3b722 zkas: Implement debug symbols in the compiled binary 2026-01-07 09:22:55 +00:00
x
9785777642 chore: Update copyright license year
Happy 2026!
2026-01-01 11:40:45 +00:00
oars
11ca7747e5 tests/jsonrpc: replace simplelog with tracing-subscriber for setting up logger for tests 2025-11-07 10:15:36 +03:00
skoupidi
2e60e3ca3b contract/deployooor/tests/integration: fully test all contract logic 2025-10-16 15:26:38 +03:00
skoupidi
ea24557db4 chore: clippy 2025-10-15 18:20:05 +03:00
oars
db1e4df3c9 tests/network_transports: fix failing test due to used port 2025-10-15 16:33:01 +03:00
skoupidi
99fad7773c src|tests|example: chore clippy 2025-06-28 17:13:23 +03:00
oars
c73e8607bc net: add i2p transport 2025-04-23 13:21:09 +03:00
darkfi
2bbe39e0ee use RpcSettings and RpcSettingsOpt 2025-02-19 13:21:12 +02:00
parazyd
604f443fd1 chore: Update license header year 2025-01-24 10:36:02 +01:00
parazyd
122c68f602 net/transport: Simplify SOCKS5 client (the OCD is real) 2024-12-06 01:55:55 +01:00
skoupidi
bc22307e8b rcp/server: generalize RequestHandler so we can create multiple instances of it 2024-12-05 16:22:43 +02:00
parazyd
61b9f538b8 rpc: Implement HTTP-based JSON-RPC server and client 2024-11-27 14:45:31 +01:00
skoupidi
82520041eb chore: clippy elided lifetimes 2024-09-17 16:56:38 +03:00
parazyd
ccc5d9cf30 net/tor: Use P2P datastore for Tor's state and cache dirs 2024-07-02 12:13:22 +02:00
parazyd
ff54b8b289 tests: Fix TLS network transport test 2024-05-27 16:42:26 +02:00
skoupidi
080417bb3f chore: replaced all MerkleTree::new(100) with MerkleTree::new(1) for consistency 2024-04-27 16:02:36 +03:00
zero
9188a62bb3 smt: simplify ZK gadget. Use root = sparse_merkle_root(pos, path, leaf) instead of the more complicated is_member = sparse_tree_is_member(root, path, pos, leaf) 2024-04-02 09:39:38 +02:00
zero
4532b8d229 for most .zk proofs, provide a corresponding witness.json file which is usable with zkrunner, benchmarks and other utils (using import_witness_json()). 2024-03-27 11:30:04 +01:00
zero
afa1856236 tests/bench: delete bench_zk, add zk_arith (uses criterion crate) 2024-03-26 17:19:08 +01:00
skoupidi
6a11e5e048 tests: ignore bench_zk.rs 2024-03-26 14:40:48 +02:00
zero
ae0e8f6ff3 doc: add desktop zk benchmarks 2024-03-24 12:14:10 +01:00
zero
baa0146834 tests: add zk benchmark 2024-03-24 10:52:24 +01:00
zero
fd1d154b15 runtime/smt: return early with SUCCESS (but give a warning) if the nullifiers list for changing the tree is empty. 2024-03-19 10:26:01 +01:00
zero
fb4a521f70 zk/smt: fix broken unit test 2024-03-18 16:56:59 +01:00
zero
11e39f07cf mv smt2 smt 2024-03-18 11:51:59 +01:00
zero
ba60fc05f3 switch zkVM to new SMT gadget 2024-03-18 11:48:36 +01:00
zero
db67d3bdf0 fix broken smt tests 2024-03-12 16:06:19 +01:00
zero
376784af2e zkas/zk: add sparse_tree_is_member() opcode 2024-03-09 13:10:14 +01:00
nighthawk24
c25df52c64 fud | lilith | research/dhtd/ | geode | tests : Refactor to return match statements 2024-02-23 15:29:25 +02:00
parazyd
47e9d68ef1 sdk/crypto: Forbid PublicKey to ever be the identity point 2024-02-20 15:47:34 +01:00
zero
2094274851 add a Blind type to the SDK, which is used in all bullas as the explicit blinding factor. 2024-02-08 15:24:51 +01:00
skoupidi
3e15d146a3 validator/consensus: cleaned up slots logic 2024-02-01 13:31:29 +02:00
skoupidi
4c45c8d592 validator: cleaned up verification and validations methods and merged the two files 2024-01-31 20:21:08 +02:00
skoupidi
ccc3a8e3a7 blockchain/header: derive block version using sdk block_version fn 2024-01-31 19:14:55 +02:00
skoupidi
16103b84a7 Night of the living dead 2024-01-29 21:41:01 +02:00
zero
7ada52b28b rename mod_r_p() -> fp_mod_fv(), and mod_p_r_unsafe() -> fv_mod_fp_unsafe() 2024-01-23 16:36:19 +01:00
parazyd
0e6f51e895 chore: Update copyright year in license headers 2024-01-16 13:07:22 +01:00
aggstam
7c9b3549cf darkfid2: use minerd to mine blocks, validator: cleaned up threads info as its not longer required 2024-01-12 15:03:42 +02:00
aggstam
cdaddfbfe2 event_graph: introduce layers to the DAG
Each event corresponds to a specific layer(height) in the dag, making identifying and preventing cycles way easier, as all parents must exist in previous layers. Additionally, propagation and sync gremlins have been eliminated, and proper validations added
2023-12-14 11:45:32 +01:00
aggstam
cb06356c46 validator/pow: introduced fixed difficulty for testing purposes 2023-11-21 14:41:56 +02:00
parazyd
235626b31d rpc: Allow params as JSON object 2023-11-01 19:48:47 +01:00
aggstam
44482105c8 darkfid2: enchanched args configuration 2023-10-26 21:21:18 +03:00
aggstam
893ea4a52f validator/pow: store block difficulty info in sled 2023-10-13 19:40:18 +03:00
aggstam
594946044e validator/pow: TODOs cleanup 2023-10-13 16:48:13 +03:00
aggstam
6ad2a19bac validator: validate blocks based on their version 2023-10-03 21:45:28 +03:00
aggstam
e5081d55ce blockchain/Block: refactored in preparation for mining integration 2023-09-19 00:11:20 +03:00
aggstam
eca2c7e175 blockchain/Block: moved producer tx at last position of blocks' txs vec 2023-09-15 00:51:37 +03:00
aggstam
dba13ebef6 blockchain/Block: removed producer structure 2023-09-15 00:51:37 +03:00
aggstam
b8e612138d validator/blockchain: consolidate all blockchain structures validation at src/validator/validation.rs 2023-09-14 14:39:20 +03:00