Commit Graph

986 Commits

Author SHA1 Message Date
Janus
a3f5f09b9d Remove some warnings 2021-08-03 00:58:44 -04:00
Janus
c47057e25f Add cashier function mint_dbtc 2021-08-03 00:52:42 -04:00
parazyd
3374a25855 rpc: Implement JSON-RPC structures and creation functions
Using these should result in cleaner code when building JSON-RPC
requests throughout the codebase.
2021-08-02 14:42:14 +02:00
parazyd
a9e5a39db3 github: Add build & test workflow. 2021-08-02 13:18:52 +02:00
ghassmo
eb9511cb49 handle transfer command from darkfid 2021-08-02 04:29:55 +03:00
ghassmo
9f07bbca80 rename client field to cashier_client in adapter struct 2021-08-02 01:54:02 +03:00
ghassmo
e3a338100b remove tests from darkfid 2021-08-02 01:52:14 +03:00
Janus
9f35f9c14e Replace bitcoin-rs references 2021-07-29 22:51:36 -04:00
Janus
0816bada60 Move btc mod from cashier 2021-07-29 21:26:34 -04:00
Janus
a0a27e0d3b Remove cashier data from rocks 2021-07-29 02:50:36 -04:00
Janus
0465e70b3a Add separate sqlcipher db for Cashier 2021-07-29 02:34:26 -04:00
ghassmo
f3b3152aae delete duplicate cli_config.rs file 2021-07-25 21:25:52 +03:00
ghassmo
d90fe538f6 use generic struct for loading configurations 2021-07-25 21:20:52 +03:00
ghassmo
4c36f822c2 wrap handle_error function with Arc & implement Sync and Send traits for the function 2021-07-25 20:29:14 +03:00
ghassmo
a51acc1bf7 create darkfi dir and toml files when load_default configuration 2021-07-25 20:28:18 +03:00
lunar-mining
a0f5854ecb implemented deposit on rpc/adapter 2021-07-24 15:43:03 +02:00
narodnik
181108ca90 mostly working halo1 impl 2021-07-24 15:15:59 +02:00
lunar-mining
a6b4791feb added deserialize to walletdb.rs 'get' functions. ran cargo fmt 2021-07-24 10:34:56 +02:00
Janus
2c1eb75605 Remove unused traits 2021-07-23 18:46:58 -04:00
Janus
f33c284509 Return p2pkh address from CashierClient 2021-07-23 18:38:03 -04:00
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