Commit Graph

407 Commits

Author SHA1 Message Date
lunar-mining
914e8037aa dchat: update to new RPC + p2p API and delete redundant dependecies 2023-12-08 21:03:42 +01:00
lunar-mining
247a87e608 dchat: add .gitignore 2023-12-08 21:02:26 +01:00
lunar-mining
1bb4f67e14 dchat: commit erroring code
error: failed to select a version for darkfi.

... required by package dchat v0.4.1 (/home/x/src/darkfi/example/dchat)

versions that meet the requirements * are: 0.4.1

the package dchat depends on darkfi, with features: async_daemonize but darkfi does not have these features.

failed to select a version for darkfi which could resolve this conflict
2023-12-08 21:01:56 +01:00
lunar-mining
bd78a5e5bf dchat: add async daemonize macro to Cargo.toml 2023-12-08 21:01:47 +01:00
parazyd
295c8dcff9 chore: Update crate dependencies 2023-12-04 19:58:59 +01:00
parazyd
212a8c0957 example/dummy-contract: Exclude from main workspace 2023-11-28 12:42:16 +01:00
parazyd
5945fc5f0d example: Add a dummy contract for easier iterations of runtime changes. 2023-11-27 19:26:18 +01:00
parazyd
f188c2bb05 chore: Update crate dependencies 2023-11-09 14:20:57 +01:00
parazyd
b61127af9a chore: Update crate dependencies 2023-10-27 09:02:18 +02:00
y
0e9a9d5bc5 [WIP] Modify parser to support array syntax
Add support for square brackets to the parser to prepare to support
arrays.
Add a test .zk file with intended syntax for arrays. This can be used as
input to the zkas binary to check for errors while developing this
feature.
2023-10-04 10:20:23 -04:00
parazyd
cbe9c64065 chore: Update crate dependencies 2023-08-29 13:08:35 +02:00
Dastan-glitch
83bf68bd49 example/net: remove p2p.run() 2023-08-25 04:33:53 +03:00
parazyd
cee481b0c3 chore: Update crate dependencies 2023-08-23 19:15:03 +02:00
parazyd
0f125fa2db net: Remove async-std dependency and prefer smol.
Also we now take the global executor and keep it around in P2p.
2023-08-22 15:07:48 +02:00
parazyd
56eda79c1b example: Remove rpc client/server.
They're essentially provided in tests/
2023-08-20 18:53:52 +02:00
x
37bd0ccdf4 zk tracer: add a bool pass through instead of using if let idiom. As a consequence we change weaker matches into stronger unwraps. 2023-08-19 13:13:26 +02:00
x
f3a6672bfb zk: add debug tracer 2023-08-19 12:51:34 +02:00
parazyd
44982d320e chore: Update crate dependencies 2023-08-18 10:15:14 +02:00
parazyd
9103045723 example/rpc: Add unix listeners. 2023-08-18 10:07:37 +02:00
parazyd
827ec53f63 rpc: Cleanup client and server and refactor into smaller functions.
* Implement a read timeout to avoid a DoS path
* Use dynamic buffer allocation with a max size limit
* Make the JSON-RPC a line-based protocol
2023-08-18 08:56:54 +02:00
parazyd
6a024ab801 zkas: Add a field definition on top of the circuit file.
Currently unused, but will probably be expanded to define proofs over
different fields.
2023-08-14 17:09:18 +02:00
parazyd
1eb00ef9c2 chore: Update crate dependencies 2023-08-12 13:01:32 +02:00
greptile
fa8ecdac4f cleanup: remove typo and git merge info from documentation (#188)
* cleanup: remove git merge info from dchat README

* doc: fix spelling mistake

---------

Co-authored-by: y <y>
2023-08-02 15:42:38 +00:00
lunar-mining
0c7aecd50d dchat: update README with lilith usage 2023-08-01 17:54:51 +02:00
lunar-mining
3904492f7c dchat: add libsqlite3-sys dependency to Cargo.toml 2023-08-01 17:52:30 +02:00
parazyd
c045210763 chore: Update crate dependencies. 2023-07-31 08:05:13 +02:00
y
69602de999 [example] fix outdated link and filename in README
- Fixed outdated link so it no longer gives 404
- Updated folder name from `dchat-seed` to `dchat`
2023-07-28 09:44:55 +00: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
parazyd
d34b9cbb03 chore: Update crate dependencies 2023-07-22 13:16:16 +02:00
parazyd
8ac1d17077 Use k param from ZkBinary when building VerifyingKey and ProvingKey. 2023-07-22 12:04:41 +02:00
Dastan-glitch
12c628efdb zk: use reference instead of cloning 2023-07-20 16:17:49 +03: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
parazyd
d7c994b679 chore: Update crate dependencies. 2023-07-13 19:22:32 +02:00
parazyd
cf307669aa chore: Update crate dependencies. 2023-07-10 15:19:41 +02:00
parazyd
98ef7c834e chore: Update project dependencies. 2023-07-08 20:17:47 +02:00
aggstam
5d63d86083 chore: cleanup 2023-07-08 19:04:47 +03:00
aggstam
1ea8adfb28 repo: updated everything to merged stuff 2023-06-29 16:13:43 +03:00
parazyd
48ce9fd7c5 chore: Update crate dependencies 2023-06-12 14:31:20 +02:00
parazyd
8257d7cdbe sdk: Replace incrementalmerkletree with bridgetree crate. 2023-06-12 14:31:19 +02:00
parazyd
bfc99c79ea chore: Update crate dependencies. 2023-06-06 14:06:36 +02:00
parazyd
6cddfac05f Replace num_cpus crate with stdlib alternative. 2023-05-19 09:59:55 +02:00
parazyd
3cb6051fa2 chore: Update dependency versions 2023-05-11 10:08:51 +02:00
parazyd
bd6a6bfaf2 zkas: Rename "stack" to "heap".
"stack" is a misnomer, and the behavior of the zkVM is more heap-like
than stack-like when doing an analogy with general computing.
2023-05-10 14:35:51 +02:00
parazyd
be9013ed31 zkas: Rename "contract" to "witness". 2023-05-10 13:24:02 +02:00
parazyd
9b31940dfe chore: Update project dependencies 2023-05-09 10:42:35 +02:00
parazyd
af48ea73a3 Remove example/dao2 2023-04-16 18:21:00 +02:00
parazyd
526939df3d Remove example/dao 2023-04-16 18:20:51 +02:00
parazyd
b4cdbea08c Update project dependencies. 2023-04-16 17:36:59 +02:00
parazyd
4e3b863cda Release v0.4.1 2023-02-25 16:00:20 +01:00