Commit Graph

966 Commits

Author SHA1 Message Date
narodnik
b5243dcbbe sonic: print constant_coefficient 2021-07-23 22:46:00 +02:00
narodnik
c3a65d8479 halo1 sage script 2021-07-23 22:45:33 +02:00
narodnik
db91508dc9 sonic: bugfix due to typo s/v/w/ 2021-07-23 11:29:38 +02:00
narodnik
d890d902fc halo1: polynomial commitment over ring example 2021-07-23 11:28:45 +02:00
narodnik
4fac2c7666 Halo 1 Arithmetization Polynomials Expansion 2021-07-23 01:03:02 +02:00
Janus
654186b7c3 Readd cashier.rs 2021-07-22 15:45:02 -04:00
lunar-mining
ec302e0d53 renamed bitcoin_bridge.rs to cashier.rs 2021-07-22 09:48:56 +02:00
narodnik
514e286fe0 create functions for polynomial commitment proofs in sage 2021-07-21 23:16:04 +02:00
narodnik
e51b0abc99 polynomial commitment proof based off groth16 inner product argument 2021-07-21 22:27:02 +02:00
narodnik
b907aaf5f3 groth inner product zero knowledge argument of knowledge 2021-07-21 19:37:15 +02:00
Janus
637cd5f413 Remove unused code and correct some warnings 2021-07-21 11:48:35 -04:00
zkjanus
20539f3f7f Merge pull request #3 from darkrenaissance/bitcoin
Cashier with bitcoin
2021-07-21 11:12:48 -04:00
Janus
9c6c8d0e82 Add WalletDb to CashierService 2021-07-21 11:09:30 -04:00
Janus
878f3eb1dc Update cashierd configs and options 2021-07-21 11:09:30 -04:00
Janus
fded8de270 Update cashierd to reflect new toml config options 2021-07-21 11:09:30 -04:00
Janus
ff341ead9a Add proper messaging between CashierClient and CashierService 2021-07-21 11:09:30 -04:00
Janus
ce41e1d864 Initial Req client for cashier 2021-07-21 11:09:30 -04:00
Janus
516f1f3be6 Prepare db 2021-07-21 11:09:30 -04:00
Janus
b6fb3a486a Add RocksColumn CashierKeys 2021-07-21 11:09:30 -04:00
Janus
14e8a5a940 Start zkpubkey -> btc addr exchange 2021-07-21 11:09:30 -04:00
Janus
a807faf4a4 Add method get_deposit_address 2021-07-21 11:09:30 -04:00
Janus
c3cda6acd7 Add comment 2021-07-21 11:09:30 -04:00
Janus
19fb4c40f5 Fix rand for secret_key 2021-07-21 11:09:30 -04:00
Janus
a96b7425fc Add cashierd 2021-07-21 11:09:30 -04:00
Janus
bee4a6faea Properly derive a p2pkh from rand 2021-07-21 11:09:30 -04:00
Janus
d7f9ccd4b0 Remove code 2021-07-21 11:09:30 -04:00
Janus
815a9d780c Create a temp bitcoin address in obj 2021-07-21 11:09:30 -04:00
Janus
ceb6618e18 Add bitcoin key derivation to Bitcoin obj 2021-07-21 11:09:30 -04:00
Janus
8ff94791b5 Remove copied handle_request results 2021-07-21 11:09:30 -04:00
Janus
17f2afa5fd Initial CashierService 2021-07-21 11:09:30 -04:00
Janus
4b6f7427f6 Add secp256k1 2021-07-21 11:09:30 -04:00
Janus
1058a9cc13 Add bitcoin 2021-07-21 11:09:30 -04:00
lunar-mining
d653f5ecbd added 'withdraw' option to cli/ rpc 2021-07-21 07:18:12 +02:00
lunar-mining
23dc8547cd added 'deposit' to rpc 2021-07-20 19:01:25 +02:00
lunar-mining
a1b5e93c95 made send_key_to_cashier in darkfid 2021-07-20 18:58:04 +02:00
lunar-mining
4088e15ee2 fixed typo in Transfer::verify_amount() 2021-07-20 14:48:28 +02:00
lunar-mining
1ad24f8e05 added 'deposit' subcommand to drk_cli 2021-07-20 14:47:04 +02:00
ghassmo
221c070be2 add transfer functionality to rpc server 2021-07-19 17:58:11 +03:00
lunar-mining
713ea03884 added randomID to rpc payload 2021-07-18 23:21:36 +02:00
lunar-mining
68dc5f54b2 removed old error todos 2021-07-18 23:21:36 +02:00
narodnik
49864a8349 sonic: add blinding factors to r(X, Y) for step zkP1 2021-07-18 14:52:12 +02:00
narodnik
c80be76d6d comment out blinding factors for poly 2021-07-18 09:26:25 +02:00
lunar-mining
bbfb38a2cd removed example.rs from Cargo.toml 2021-07-17 14:10:11 +02:00
lunar-mining
02f619a588 added cli files overlooked in previous commit 2021-07-17 13:22:35 +02:00
narodnik
76cb1e37c0 sonic: add sonic protocol steps to sage version 2021-07-17 11:30:55 +02:00
lunar-mining
5e09f11922 fixed toml load logic error and simplified code into structs 2021-07-17 11:40:12 +02:00
narodnik
cd11aecbd8 sonic: add protocol steps 2021-07-17 11:24:41 +02:00
narodnik
8663911041 remove hardcoded fp 2021-07-17 11:18:08 +02:00
narodnik
f5b4e93f92 sage version of sonic arithmetization 2021-07-17 10:50:56 +02:00
narodnik
937ce246a0 sonic: filter out X^0 terms from t(X, Y) poly 2021-07-17 10:32:13 +02:00