Commit Graph

739 Commits

Author SHA1 Message Date
lunar-mining
327ecd4b1c bin/darkfid: removed unnecessary async 2021-09-22 10:48:51 +02:00
lunar-mining
c5f1e0e0c9 bin/darkfid: convert token symbol to ID if user enters symbol 2021-09-22 10:39:48 +02:00
lunar-mining
f4acbc491a bin/drk: disabled old drk and made drk2 primary. 2021-09-22 08:33:05 +02:00
lunar-mining
a25d2b8e06 todo.md: added error handling. cashierd2: removed old comments 2021-09-22 08:30:30 +02:00
lunar-mining
1e665787e4 bin/cashierd: parse_id() method. converts token_id to jubjub::Fr 2021-09-21 16:58:07 +02:00
parazyd
9da7496441 service/sol: Add function for deriving associated token accounts from owner. 2021-09-21 13:04:19 +02:00
lunar-mining
ca55ecfa5d cli_config: removed 'accept_url' from cashierd
cashierd: changed 'accept_url' to 'rpc_url'
2021-09-21 11:24:20 +02:00
lunar-mining
2daa4290ee cli/cli_config: disabled config db path. bin/darkfid: hardcoded path 2021-09-21 10:23:34 +02:00
ghassmo
34171d0369 remove wallet and database paths from cashierd config file 2021-09-20 19:50:04 +03:00
ghassmo
be457dd4a6 create run_rpc_server function and make the rpc server run inside start
function in cashierd
2021-09-20 19:21:36 +03:00
ghassmo
1dc0682603 change the word coin to token in cashier 2021-09-20 19:08:41 +03:00
ghassmo
c3d2641a0e cashierd: clean up and add comments 2021-09-20 18:47:32 +03:00
ghassmo
825b5ba674 remove warnings msg 2021-09-20 18:25:24 +03:00
ghassmo
3667d82501 add the new darkfid and cashierd to Cargo.toml 2021-09-20 18:22:37 +03:00
ghassmo
1933575da6 cashierd: finish refactoring of start function 2021-09-20 18:09:11 +03:00
ghassmo
a8a3813de3 add gateway_subscriber_url to cashierd config file 2021-09-20 18:08:14 +03:00
ghassmo
60e416af4b remove dependencies from the old rpc 2021-09-20 18:06:59 +03:00
ghassmo
889a0d3eca return asset_id when request token public key from cashierdb 2021-09-20 18:05:22 +03:00
ghassmo
3824e66e8a rename and ignore old files 2021-09-20 18:04:24 +03:00
lunar-mining
128e60c0b4 bin/drk2: changed TOKEN arg to TOKENID 2021-09-20 13:30:18 +02:00
lunar-mining
310936b33b implemented 'features' method 2021-09-20 13:20:28 +02:00
lunar-mining
4639786cb4 drafted dummy features() method 2021-09-20 12:22:22 +02:00
lunar-mining
d1f179e933 bin/cashierd2: changed hex decoding to bs58 2021-09-20 11:03:14 +02:00
lunar-mining
d9b85e9989 bin/cashierd2: fixed parsing errors 2021-09-19 21:24:42 +02:00
lunar-mining
fcd2514ff5 bin/cashierd2: implemented dummy withdraw() 2021-09-19 21:24:42 +02:00
lunar-mining
077d4f27bc bin/cashierd2: error handling for param parsing 2021-09-19 21:24:42 +02:00
lunar-mining
56d24ff0bf Merge branch 'rpc-rewrite' 2021-09-19 11:39:35 +02:00
lunar-mining
1eda31506a Merge branch 'master' into rpc-rewrite 2021-09-19 11:39:01 +02:00
lunar-mining
917762eca7 bin/cashierd2: pubkey deserialization.
Cargo.toml: added 'hex'
2021-09-19 11:36:09 +02:00
lunar-mining
c47bff66b6 bin/cashierd2: added 'bridge' to initializer 2021-09-19 09:26:02 +02:00
ghassmo
c457d4d604 Bridge: WIP refactroing the old functions & add new functions and types 2021-09-19 06:03:34 +03:00
ghassmo
d4d941cb15 Sol Bridge: clean up & avoid calling unwrap() 2021-09-19 04:03:06 +03:00
lunar-mining
17fa7e539b bin/cashierd2: imlpemented token jubjub deserialization 2021-09-18 19:53:28 +02:00
lunar-mining
d68a21e3d4 bin/darkfid2, drk2: added get_token_id() method 2021-09-18 15:31:57 +02:00
lunar-mining
2a4e8e16c4 src/bin/cashierd2: dummy deposit() rpc calls between darkfid2 2021-09-17 19:41:35 +02:00
lunar-mining
4728d1f9b2 bin/cashierd2: added async loop to run cashierd.start() 2021-09-17 16:54:44 +02:00
lunar-mining
0532d873bf cli/cli_config: added 'clone' to cashierconfig. added db path 2021-09-17 16:53:52 +02:00
lunar-mining
f13312824e bin/cashierd2.rs: basic skeleton of cashierd rewrite w deposit 2021-09-17 14:05:54 +02:00
parazyd
cb1e47f5d2 bin/drk2: Debug outgoing JSON. 2021-09-17 13:30:06 +02:00
parazyd
7b94df5ab4 bin/darkfid2: Use new error codes and error function for RPC errors. 2021-09-17 13:25:26 +02:00
parazyd
6ba0534b5b rpc/jsonrpc: Implement ErrorCode and new error method. 2021-09-17 13:24:59 +02:00
parazyd
89ffd45ccf bin/drk2: Use plain TCP transport instead of HTTP. 2021-09-17 09:55:32 +02:00
parazyd
d23ee78513 [REBASEME] Revert "cli/mod.rs: Fix removal of DarkfidConfig."
This reverts commit e30022d281.
2021-09-17 09:36:32 +02:00
parazyd
a9dc012808 [REBASEME] Revert "bin/darkfid2: Move configuration to bin file."
This reverts commit 5290cc2fbc.
2021-09-17 09:36:11 +02:00
parazyd
e30022d281 cli/mod.rs: Fix removal of DarkfidConfig. 2021-09-17 09:35:04 +02:00
parazyd
017b5f94df bin/darkfid2: Add protocol as comments. 2021-09-17 09:18:58 +02:00
parazyd
5290cc2fbc bin/darkfid2: Move configuration to bin file. 2021-09-17 09:07:11 +02:00
parazyd
18dc8cf00b bin/darkfid2: Add some debug stanzas. 2021-09-17 09:02:42 +02:00
Janus
de03706559 Fix build 2021-09-16 16:57:17 -04:00
Janus
aadedaf06b Remove btc-related bool and db stuff 2021-09-16 16:43:26 -04:00