Commit Graph

15 Commits

Author SHA1 Message Date
sairajzero
ab3df761b0 Bug fixes
- Fixed: SQL schema asset foreign key incorrectly referenced
- Fixed: initial rate of asset not loading correctly from DB
- Fixed: get-rate API returning [object Object] instead of rates
- Fixed: Bug where transaction-loop happens with 0 quantity
- Improved: spendAsset to use assets NULL/Non-NULL base correctly
- Fixed: minor typos, syntax errors and SQL query errors

User-pages:
- Added: UI fields for assets in Buy/Sell orders
- Updated: UI display of correct asset in listing orders and transactions
- Updated: localStorage keys are prefixed 'exchange-'
- Fixed: Rates and Balance amount not displayed correctly

Others:
- Added: temporary code for tracing output lines in set_globals.js (commented out by default)
2022-02-07 03:12:20 +05:30
sairajzero
048ab0667b Multi asset: initial price and other improvements
- Read blockchain for asset's initial price
- Transfer all tokens to new sink on master transfer

Other Improvements:
- Slave: close existing backup sync when master WS closes
- Updated SQL schema, updated SQL syntax as required
2022-02-05 20:23:36 +05:30
sairajzero
df69ee0f7b Multi-asset: User API 2022-02-04 02:54:05 +05:30
sairajzero
512dc3bcbc Automatically reload user page upon incorrect server
- Upon receiving responseError INCORRECT_SERVER_ERROR, reload the client page.
(Triggered mainly when master is changed).
- Fixed some minor syntax bugs
2022-01-26 21:46:19 +05:30
sairajzero
827bdcd793 Use sinkID for deposits
- Send Sink ID to users on get-account request
- In user page, store sink ID and use it for deposit FLO/Rupee
2022-01-26 16:08:30 +05:30
sairajzero
2c35c545e8 Bug fixes (client side)
Fixed Client page bugs:
- Fixed minor bugs in client side pages
- client page to use floGlobals.js
- moved KBucket.js to public (as its need by client page too).
Fixed Server Bugs:
- Added Access-Control-Allow-Origin to response headers
- Fixed: trustedIDs not loaded
- Fixed minor bugs (syntax errors)
2022-01-25 01:28:22 +05:30
sairajzero
7dbe78c1cc User-end update
- updated custom session for distributed system
- Fetch node list and url from blockchain
2022-01-20 05:38:55 +05:30
sairajzero
5ac3316008 Allow trusted IDs to add/rm user tags via API 2021-11-18 15:58:40 +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
c675ce3366 Fixed minor bugs in client scripts
- Added floGlobals and link for floBlockchainAPI
2021-09-24 03:35:53 +05:30
sairajzero
9bdb578d1a Update client side pages
- Updating the old requests to new format
- Adding deposit/withdraw FLO/Rupee to client-side UI
2021-09-20 20:49:34 +05:30
sairajzero
9443ac5d51 Adding Order cancellation request 2021-09-02 21:24:11 +05:30
sairajzero
0d84962b8a update client pages
- Fixed minor bugs
- Added event calls for sell and buy
- sell and buy events to check for valid inputs
2021-09-02 04:56:10 +05:30
sairajzero
46f1c9b6c5 Adding simple client page 2021-09-01 21:30:11 +05:30