Commit Graph

1257 Commits

Author SHA1 Message Date
Janus
6d5a894ae4 Match bitcoin crates version used 2021-08-23 09:27:41 -04:00
parazyd
794b6df4cb halo2: Use external Orchard constants.
This is now exported and implemented as necessary.
2021-08-23 13:56:20 +02:00
parazyd
585b2aa83a halo2: Update Cargo lock/toml. 2021-08-23 12:38:32 +02:00
parazyd
9f3f965615 halo2: Port mint contract to new gadget API 2021-08-23 11:44:47 +02:00
parazyd
f7ae6fd1ea halo2: Add Orchard constants
This is necessary and not yet exported.
2021-08-23 11:44:15 +02:00
parazyd
8fa8dc98f3 halo2/poseidon: Switch to external dependencies. 2021-08-23 10:08:11 +02:00
parazyd
7a0e65f6d3 halo2: Use orchard repo externally. 2021-08-23 10:08:11 +02:00
parazyd
9d30761627 halo2: Remove gadgets and primitives from orchard.
We can now use them externally.
2021-08-23 10:08:11 +02:00
narodnik
9e368c89dd plonk: finish prover system 2021-08-23 07:18:20 +02:00
narodnik
19eee83000 plonk: compute quotient polynomial proof 2021-08-23 06:58:10 +02:00
ghassmo
c6dfd7edb4 run 'cargo fix' 2021-08-23 04:55:24 +03:00
ghassmo
57352de3c2 cargo fmt 2021-08-23 04:52:29 +03:00
ghassmo
3639c6d20f create a new public and private keypair for withdraw process 2021-08-23 04:49:21 +03:00
ghassmo
39fabd79c9 create a function for the process of building slab from transaction 2021-08-23 04:40:17 +03:00
ghassmo
e400bb1deb move OwnCoins type to crypto module 2021-08-23 04:38:46 +03:00
narodnik
3bce1fe733 plonk: make permutations zero indexed 2021-08-22 22:54:29 +02:00
narodnik
9e463a31ca plonk: round 1 calculate witness polys 2021-08-22 22:51:46 +02:00
narodnik
2875df7cab correct number of constraints to be power of 2 by adding a fake one 2021-08-22 20:00:52 +02:00
narodnik
917015546c beginning of the plonk algorithm: setup the circuit and initialize the gates 2021-08-22 19:41:19 +02:00
narodnik
482320062f renamed: plonk_naive.sage -> plonk-naive.sage 2021-08-22 19:41:19 +02:00
ghassmo
c4c8234f65 clean up withdraw implementation 2021-08-21 00:52:39 +03:00
ghassmo
dd6135fd30 Merge branch 'master' of github.com:darkrenaissance/darkfi 2021-08-18 15:36:52 +03:00
ghassmo
aa480672d3 add withdraw_keypairs into cashierdb 2021-08-18 15:35:21 +03:00
ghassmo
9dcd45b360 pass btc address as String instead of bitcoin::Address type in withdraw
process
2021-08-18 15:33:31 +03:00
lunar-mining
39e73ee2af changed Arc<&DarkfidConfig> to Arc<DarkfidConfig>. made dummy cashier_adapter.rs 2021-08-18 13:22:13 +02:00
lunar-mining
39eaace8c9 renamed wallet adapter to adapters/user_adapter 2021-08-17 10:49:17 +02:00
lunar-mining
5bc8706d19 implemented user handle_input module 2021-08-17 10:00:01 +02:00
narodnik
8062041449 minor plonk sage changes 2021-08-16 15:04:15 +02:00
lunar-mining
cd0616af51 created dummy cli for cashier 2021-08-16 11:10:22 +02:00
lunar-mining
e10fa2f1d0 updated cli author 2021-08-16 10:37:58 +02:00
Janus
542d9a7a58 Replace poll with electrum subscribe functions 2021-08-16 01:38:06 -04:00
parazyd
5154735928 Format todo.md for valid markdown. 2021-08-15 22:14:33 +02:00
parazyd
d663db15c2 Update TODO 2021-08-15 22:09:29 +02:00
lunar-mining
730714e312 ran cargo fmt and updated todo.md 2021-08-15 12:38:59 +02:00
lunar-mining
390a1afea2 implemented withdraw 2021-08-15 12:37:09 +02:00
lunar-mining
cfab54ecd7 added BadBTCAddress error 2021-08-15 10:54:45 +02:00
lunar-mining
b8464dfbd8 removed cashier functions from user-facing RPC flow 2021-08-15 10:31:48 +02:00
parazyd
12f7781400 halo2: Finalize mint circuit 2021-08-14 14:21:36 +02:00
parazyd
15b13ff27d halo2: Implement utility function to load constant values 2021-08-14 14:21:18 +02:00
parazyd
a6b35c6699 halo2: Move full circuit config to circuit.rs 2021-08-14 14:20:51 +02:00
parazyd
0edaa5d29a halo2/utilities: Add missing lebs2ip function 2021-08-14 14:20:22 +02:00
parazyd
0fb6cefa75 halo2: Add ecc gadget and constants from orchard codebase 2021-08-14 14:09:34 +02:00
parazyd
a9283c7d34 halo2: Add necessary dependencies for the rest of stuff in orchard 2021-08-14 14:08:13 +02:00
parazyd
94e60f441c halo2: WIP Mint circuit 2021-08-14 11:30:48 +02:00
parazyd
777be2ada9 halo2/poseidon: Calculate time for proving 2021-08-13 09:07:12 +02:00
parazyd
b60aa913c8 halo2: Have poseidon example create actual proofs instead of MockProver 2021-08-13 09:00:33 +02:00
ghassmo
62e31480ae fix an error occur when open cashierd.toml file 2021-08-13 05:35:07 +03:00
ghassmo
e0cb31d983 fix the warnings 2021-08-13 05:08:34 +03:00
ghassmo
eaaa8aa985 cashier: update CashierError enum 2021-08-13 05:07:34 +03:00
ghassmo
e35698330b cashier: add withdraw function to cashierclient & cashierservice send DBTC address when receive Withdraw command 2021-08-13 04:55:16 +03:00