Commit Graph

128 Commits

Author SHA1 Message Date
sairajzero
c14f10eade Use Group priority to get best buy/sell order 2021-10-30 21:35:18 +05:30
sairajzero
0e34dcb5e3 Update group.js
- Adding functions to get best buy-order.
- Renamed some fns of get-sell-order for easier identification.
2021-10-30 20:13:48 +05:30
sairajzero
097b64b82f Update group.js
- Adding getBestPairs
- best pair of orders (buy, sell) can be fetched using the new functions
2021-10-30 03:39:10 +05:30
sairajzero
bb0d49614b Create group.js 2021-10-30 00:24:38 +05:30
sairajzero
f7584629b9 Bug fixes
- Fixed: error caused during inputRupee
- Passing timezone UTC in DB connection for uniformity between main server and backups.
- Changed single-line comments to multi-line comments in schema.sql
- Addng truncateAll.sql: can be used to clear the database (data only).
2021-10-21 21:08:12 +05:30
sairajzero
57eb249ed6 Bug fix 2021-10-15 22:54:56 +05:30
sairajzero
a7bab7ed6e Backup DB feature 2021-10-15 22:54:15 +05:30
sairajzero
96b9d3b6e9 Setup files
- Adding setup files to configure, set password.
- Private key will now be stored in encrypted shares. Password will be required for running the server.
- Automated creation of MySQL schema.
- Making floGlobals common for both server and client.
- Fixed a minor bug in database.js
2021-09-29 04:14:02 +05:30
sairajzero
8a014405f4 display current rate
Display FLO-INR rate in client page
2021-09-25 22:16:06 +05:30
sairajzero
9ec17b4d55 Debugging 2021-09-25 00:29:48 +05:30
sairajzero
7362d0d4b7 Fixed various bugs in server scripts 2021-09-24 03:35:04 +05:30
sairajzero
8c31de3ccc Config update
- private key and flo addr for the admin
- Adding token URL
2021-09-24 03:34:01 +05:30
sairajzero
bfc6a1091a Changing XMLHttpRequest to fetch 2021-09-24 03:31:33 +05:30
sairajzero
60f1a2742d Update floCrypto.js 2021-09-24 03:31:03 +05:30
sairajzero
5164d51146 Bug fix: some variables not declared 2021-09-24 03:30:51 +05:30
sairajzero
c238e57132 Bug fix
- Fixed signature text construct bug (time -> timestamp)
2021-09-20 20:50:48 +05:30
sairajzero
c8e27f7315 updating floBlockchainAPI to latest (v2.1.1) 2021-09-20 20:48:01 +05:30
sairajzero
20fd7aaeb1 Deposit and withdraw request processing
- Processing of Deposit/Withdraw request for FLO/Rupee.
- renamed database's TxQuery to transaction
2021-09-16 03:17:33 +05:30
sairajzero
84b914bc9b Proxy key signatures for requests
- Uses the proxy public key sent by the users upon login to verify signatures on requests.
* This allows the users to not store their actual private key in the browser. Only the proxy private-key will be needed to be stored in the browser in addition to respective session data.
- Stores the request data and respective signatures upon successful processing.
2021-09-16 03:14:28 +05:30
sairajzero
9443ac5d51 Adding Order cancellation request 2021-09-02 21:24:11 +05:30
sairajzero
a7a2c22622 Update database.js
- Bug Fixed: Added commit to end a transaction
2021-09-02 04:58:33 +05:30
sairajzero
3eb9499713 Update market.js
- Added get rates function
- Added interval for match buy n sell function
- Added checks for buy and sell order placement
- Fixed minor bugs
2021-09-02 04:57:55 +05:30
sairajzero
0cc525b28e Update request.js
- Check if floID is registered before logging in. Also use the pubKey from DB. Therefore pubKey is not required to be sent in request during login.
- Respond correctly when floID is already registered when trying to re-register.
2021-09-01 21:33:27 +05:30
sairajzero
a137237010 Create start.js and main.js 2021-08-30 22:04:19 +05:30
sairajzero
9c344bc8e5 Create app module 2021-08-30 22:03:55 +05:30
sairajzero
0161108e87 Create database.js 2021-08-30 22:02:11 +05:30
sairajzero
80b9d36287 adding args and set_globals 2021-08-30 22:01:42 +05:30
sairajzero
c05e260b51 Adding std_op 2021-08-30 22:00:31 +05:30