Commit Graph

2228 Commits

Author SHA1 Message Date
parazyd
04458bcb87 circuit: Rename asset to token. 2021-12-02 22:25:48 +01:00
parazyd
e87ef1443f tx: Add debug statements to verify().
This is helpful because there's a silent failure when watching the
cashier log.
2021-12-02 22:10:18 +01:00
parazyd
2d95620314 Remove mint/spend params from config_local. 2021-12-02 21:48:21 +01:00
parazyd
a47505b427 Clean up some clippy lints. 2021-12-02 21:38:27 +01:00
parazyd
3718ea7223 Add note in README for previous git tag for people who want to try the sw. 2021-12-02 21:25:51 +01:00
parazyd
7fbd70096f Fix and improve unit tests. 2021-12-02 21:24:16 +01:00
parazyd
1227018081 Remove traces of pasta_curves crate from files where they shouldn't be. 2021-12-02 21:24:16 +01:00
parazyd
e155a8583e wallet: Support arbitrary strings for database path.
This enforces handling of the path on the client side, but also
allows us easier handling of in-memory databases.
2021-12-02 21:24:16 +01:00
parazyd
2894c9fc7d Minor cleanup. 2021-12-02 21:24:16 +01:00
parazyd
dce2a3294c bin: Rename vm2 to vm. 2021-12-02 21:24:16 +01:00
parazyd
5c4cf67a44 Setup Makefile for production builds again. 2021-12-02 21:24:16 +01:00
parazyd
3a80143540 Create zk proving keys on initial startup and pass them around. 2021-12-02 21:24:16 +01:00
parazyd
8e4f8b5f8b Update .gitignore. 2021-12-02 21:24:16 +01:00
parazyd
fc1ad7202d Update Cargo.lock and Cargo.toml. 2021-12-02 21:24:15 +01:00
parazyd
ff01e7b685 Use the new keypair module throughout the codebase. 2021-12-02 21:24:15 +01:00
parazyd
d79a18e37c cli: Remove mint/spend params config entries. 2021-12-02 21:24:15 +01:00
parazyd
0b7bd857de client: Fix automatic keypair generation. 2021-12-02 13:45:56 +01:00
parazyd
eabd01c6fc Update Cargo.lock and Cargo.toml. 2021-12-02 13:45:33 +01:00
parazyd
8e92571468 darkfid: Use new async wallet API. 2021-12-01 21:33:16 +01:00
parazyd
f1eaa08772 cashierd: Use new async wallet API. 2021-12-01 21:33:07 +01:00
parazyd
4d39e92524 wallet: Port to sqlx.
Note there is still some connection bug, where the sqlcipher pragma
doesn't seem to work after a subsequent connection.
We shall investigate and solve this.
2021-12-01 21:32:01 +01:00
parazyd
650db5f15a sql: Separate schemas into multiple files. 2021-12-01 21:22:46 +01:00
parazyd
f6e8091585 bin/darkfid: WIP integration. 2021-11-30 19:28:10 +01:00
parazyd
75a452037f util/token_list: Restore version from 1ea13805e6 2021-11-30 19:28:10 +01:00
parazyd
cde8b6d7e2 Make cashierd compile. 2021-11-30 17:36:10 +01:00
parazyd
113a257227 bin: WIP changes for Halo2. 2021-11-29 14:43:00 +01:00
parazyd
6264152edb client: WIP integration. 2021-11-29 14:42:29 +01:00
parazyd
9d67289bd2 crypto: Add structs to hold proof verification and proving keys. 2021-11-29 14:18:30 +01:00
parazyd
726fc5a487 service/eth: Restore missing functions after halo2-integration merge. 2021-11-29 14:17:50 +01:00
parazyd
5862b63605 wallet/cashierdb: Use a mutex for the SQL connection and make functions async. 2021-11-29 14:17:27 +01:00
parazyd
2f2d40e03a vm: Use new way of hashing poseidon messages. 2021-11-29 14:17:06 +01:00
parazyd
2d59247f6f circuit: Clean up mint and spend contracts. 2021-11-29 14:16:37 +01:00
parazyd
bbe9c8e74d bin: Remove mint.rs and burn.rs.
We will make test units for the circuit module.
2021-11-29 14:16:06 +01:00
parazyd
2611d27590 Update Cargo.lock and Cargo.toml. 2021-11-29 14:15:31 +01:00
parazyd
80709c6813 crypto: Remove duplicated and old merkle tree code. 2021-11-28 10:19:05 +01:00
parazyd
81f95745f3 Apply some linting cleanups. 2021-11-28 10:13:29 +01:00
parazyd
c94bbabbd7 error: Print inner error for PlonkError. 2021-11-28 09:49:48 +01:00
parazyd
b3d67e6dc0 TODO: Update halo2 entries. 2021-11-28 09:43:10 +01:00
parazyd
b308e85e38 tx2: Clean up. 2021-11-28 09:34:08 +01:00
parazyd
219c299360 crypto: Introduce Keypair struct. 2021-11-28 08:56:26 +01:00
parazyd
56bb76ff0d Add missing dependencies to compile gatewayd. 2021-11-27 18:48:21 +01:00
parazyd
a39a90bab6 Move vm2.rs to vm.rs. 2021-11-27 18:13:09 +01:00
parazyd
8c93da2b90 Remove bls_extensions.rs 2021-11-27 18:11:38 +01:00
parazyd
79214829fc Add DEVELOPMENT.md. 2021-11-27 18:07:07 +01:00
parazyd
6582d1eb1f cargo fmt. 2021-11-27 18:01:29 +01:00
parazyd
38e5550eaa Update dependency versions. 2021-11-27 18:00:07 +01:00
parazyd
2e33d98948 Reintroduce PR #15 2021-11-27 17:54:16 +01:00
parazyd
7276498e64 cargo fmt with new settings. 2021-11-27 17:02:29 +01:00
lunar-mining
d45ec5da5d fixed merge errors 2021-11-27 16:59:55 +01:00
lunar-mining
f62304565f Merge branch 'master' of github.com:darkrenaissance/darkfi 2021-11-27 13:39:30 +01:00