Commit Graph

246 Commits

Author SHA1 Message Date
Abhishek Sinha
a8c94586b7 fixed primary backup issues 2019-05-28 18:53:40 +05:30
Abhishek Sinha
07cea65783 changed _readDB to readDB while getting supernode pub key while trade buy, sell, balance updates 2019-05-27 16:33:44 +05:30
Abhishek Sinha
8d43e33e8e fixed node availability status 2019-05-26 12:25:54 +05:30
Abhishek Sinha
915c2d7cd4 fixed minor issues in primary operations 2019-05-22 16:14:19 +05:30
Abhishek Sinha
6b5565f806 added code for adding user data from handle_backup_request and backup to backup sync 2019-05-21 19:20:00 +05:30
Abhishek Sinha
77435c2b2d fixed ip and user data recording in backup db 2019-05-20 19:22:54 +05:30
Abhishek Sinha
28f8aeabf2 fixed doSend function 2019-05-19 19:52:57 +05:30
Abhishek Sinha
cb00785ab6 fixed issues on having left-right supernodes 2019-05-18 18:27:58 +05:30
Abhishek Sinha
9e8e2587d5 added code for Primary supernode to sync data from backup supernodes 2019-05-16 16:49:14 +05:30
Abhishek Sinha
cff3ef5b18 fixed db functions for primary and backup db 2019-05-15 14:09:14 +05:30
Abhishek Sinha
701db7da42 fixed db functions for primary and backup db 2019-05-14 21:12:01 +05:30
Abhishek Sinha
ab6fab887c added code for primary supernode to get data from backup supernodes 2019-05-13 19:27:32 +05:30
Abhishek Sinha
8408be332a removed code to add kb users of other supernodes 2019-05-10 19:42:27 +05:30
Abhishek Sinha
c3dd189499 promisified send_rpc function 2019-05-09 19:27:02 +05:30
Abhishek Sinha
220fb1fe8f added eligible backup supernode check before sync 2019-05-07 15:22:46 +05:30
Abhishek Sinha
73d94940e1 fixed determineClosestSupenode function to determine closest supenodes for both supenodes and user nodes 2019-05-06 14:28:19 +05:30
Abhishek Sinha
57ea660344 modified determineClosestSupenode function to determine closest supenodes for both supenodes and user nodes 2019-05-05 15:08:51 +05:30
Abhishek Sinha
a337b28d03 fixed data entry into right backup db for backup supernode as acting supernode 2019-05-04 17:58:26 +05:30
Abhishek Sinha
0fe95a7915 fixed withdraw btc issue for primary supernode 2019-05-02 16:57:23 +05:30
Abhishek Sinha
2fb10a8e3f fixed btc shares data entry into backup supernodes 2019-05-01 20:53:44 +05:30
Abhishek Sinha
1475d96ebe fixed deposit, buy, sell issues 2019-04-29 18:02:15 +05:30
Abhishek Sinha
515f9ad9f0 fixed userPublicData sync/update issue 2019-04-28 16:54:44 +05:30
Abhishek Sinha
9a6dfebbbc added backup db param in trade functions 2019-04-27 18:32:20 +05:30
Abhishek Sinha
2f38275d88 working on db restoring of primary supernode from rest supernodes 2019-04-27 14:09:44 +05:30
Abhishek Sinha
d95812e4f0 working on db restoring of primary supernode from rest supernodes 2019-04-24 18:29:09 +05:30
Abhishek Sinha
172fc1a603 data being synced in all neighbour backup db as per vector clock 2019-04-21 18:48:17 +05:30
Abhishek Sinha
891ffe4e6c fixed other nodes temp ip storing issue 2019-04-18 17:40:07 +05:30
Abhishek Sinha
5a3a061e29 modified supernode kbucket according to a common master flo id 2019-04-17 20:22:45 +05:30
Abhishek Sinha
45fd896620 added code to add kbucket of other supernodes 2019-04-10 21:26:15 +05:30
Abhishek Sinha
a322b23094 linked temporary ip of nodes to flo ids 2019-04-08 14:39:21 +05:30
Abhishek Sinha
9b57c5f787 added ip table 2019-04-05 21:08:16 +05:30
Abhishek Sinha
d611869f0e improved switching of supernodes 2019-04-04 22:33:56 +05:30
Abhishek Sinha
2245c3e780 added switchToBackupWS function to switch to backup ws 2019-03-31 21:33:44 +05:30
Abhishek Sinha
3231b23506 fixed kbucket errors 2019-03-28 15:04:16 +05:30
Abhishek Sinha
c1f950a3e9 fixed kbucket errors 2019-03-27 21:03:30 +05:30
Abhishek Sinha
8cc80995dc fixed private key undefined error 2019-03-24 20:15:08 +05:30
Abhishek Sinha
1640a2b252 added db backup from one supernode to another 2019-03-19 10:20:35 +05:30
Abhishek Sinha
6ee4eaa815 fixed kbucket errors 2019-03-18 11:25:52 +05:30
Abhishek Sinha
a58d994e93 fixed kbucket formation error 2019-03-10 20:16:34 +05:30
Abhishek Sinha
f2bf6d2eaf fixed private key build up issue, multiple ws and idb connections 2019-03-09 21:23:21 +05:30
Abhishek Sinha
f90b804cc0 added loading local db data into ui before connecting supernode 2019-03-04 15:11:32 +05:30
Abhishek Sinha
3ef0330758 fixed nearest supernode discovery issue 2019-03-01 16:50:20 +05:30
Abhishek Sinha
e9b4a2dc28 fixed discover nearest supernode issue 2019-02-27 13:38:30 +05:30
Abhishek Sinha
a7c145c613 fixed discover nearest supernode issue 2019-02-27 13:02:50 +05:30
Abhishek Sinha
5241713f0b fixed nearest supernode discovery issue 2019-02-24 20:42:47 +05:30
Abhishek Sinha
042a38fd2b fixed same depositor-withdrawer issue, added css for server logs 2019-02-21 18:02:55 +05:30
Abhishek Sinha
73dd2ff748 added modal window 2019-02-19 19:37:03 +05:30
Abhishek Sinha
d81f0c976f merged the new template in index.html 2019-02-17 20:52:26 +05:30
Abhishek Sinha
58f37465ed designing new template for website 2019-02-15 19:38:03 +05:30
Abhishek Sinha
b0a722e590 tuned the code ac to discover kbucket 2019-02-12 16:06:48 +05:30
Abhishek Sinha
8352094bf3 formation of kbucket from various participating node happenning 2019-02-10 14:09:29 +05:30
Abhishek Sinha
c54dfb2322 added browserified tristanls discover library 2019-02-07 21:18:17 +05:30
Abhishek Sinha
2b300f6483 added initial functions for kademlia 2019-02-06 20:35:17 +05:30
Abhishek Sinha
4fde72b8b6 fixed prototype mistakes 2019-02-04 14:00:05 +05:30
Abhishek Sinha
630bfcf285 added autoupdate external scripts feature 2019-02-02 22:42:13 +05:30
Abhishek Sinha
402e0ab6fb added autoupdate external scripts feature 2019-02-01 19:10:10 +05:30
Abhishek Sinha
4811e9e8b1 fixed errors in deposit 2019-01-30 20:13:22 +05:30
Abhishek Sinha
50bf1bcdd4 added ui for crypto broadcasting, check for max allowed asset trade or withdraw, and cancel button 2019-01-29 19:52:30 +05:30
Abhishek Sinha
f81a1ad93c added updateDepositedCryptoBalanceStatus function to replace setinterval for checking deposited crypto status 2019-01-27 19:04:46 +05:30
Abhishek Sinha
7235bed142 fixed multi currecny multi crypto errors in buy sell deposit withdraw 2019-01-26 23:04:01 +05:30
Abhishek Sinha
81f57bb1f9 added functionality to generate both flo and btc keys 2019-01-23 19:19:30 +05:30
Abhishek Sinha
5427badb3b fixed type of crypto check during operations 2019-01-23 10:01:34 +05:30
Abhishek Sinha
63010c4ca3 fixed cash_balances currency issue 2019-01-22 20:27:28 +05:30
Abhishek Sinha
3a6b9876fb automated login process 2019-01-21 20:39:29 +05:30
Abhishek Sinha
50734d962e automated login process 2019-01-21 18:37:07 +05:30
Abhishek Sinha
8c251f889f fixed all errors in deposit, withdraw, buy and sell 2019-01-20 20:55:10 +05:30
Abhishek Sinha
e613a94a73 added resolve_current_btc_price_in_fiat fn 2019-01-17 21:28:35 +05:30
Abhishek Sinha
bb7d29aa71 started to add code for multi currency support, fixed async await loop in sync 2019-01-16 21:53:35 +05:30
Abhishek Sinha
3d99c9a73e removed supernode_private_key_chunks from sync list of db tables 2019-01-10 21:01:16 +05:30
Abhishek Sinha
fbd8f1a0ea added script to fetch js code from indexed db 2019-01-08 12:27:24 +05:30
Abhishek Sinha
d9a0a46165 finished encryption functionality 2019-01-06 17:43:35 +05:30
Abhishek Sinha
9959e1cdba fixed get sharable data function 2019-01-04 15:47:31 +05:30
Abhishek Sinha
ea5ec88785 all db functions promisified 2019-01-03 09:35:53 +05:30
Abhishek Sinha
2eb1383142 started promisifying the functions 2019-01-02 09:57:49 +05:30
Abhishek Sinha
803abd5a4a added new table for trader_flo_address and respective public key 2018-12-31 17:18:51 +05:30
Abhishek Sinha
4e562b9d77 fixed deposit withdraw confirmation functionality 2018-12-30 11:05:19 +05:30
Abhishek Sinha
37cbe72edb finished function to withdraw deposit cash 2018-12-29 21:14:10 +05:30
Abhishek Sinha
af47aa5b74 added build_deposit_withdraw_table function 2018-12-29 11:34:28 +05:30
Abhishek Sinha
6de2b181db fixed minor bugs 2018-12-28 19:09:03 +05:30
Abhishek Sinha
f75e573bb5 added shamir secret to deposited btc 2018-12-24 23:34:45 +05:30
Abhishek Sinha
7dcffcd9dc fixed bitcoin sending 2018-12-23 20:42:09 +05:30
Abhishek Sinha
b778efdaab added sync supernode data on login 2018-12-23 14:38:35 +05:30
Abhishek Sinha
1997f15fa2 added code to force user to inform if he deposited cash 2018-12-22 20:09:22 +05:30
Abhishek Sinha
5c126df303 fixed retriving of pvt keys 2018-12-20 22:53:35 +05:30
Abhishek Sinha
798fc9ebf3 added decentralization of supernode private keys 2018-12-19 22:02:03 +05:30
Abhishek Sinha
d6ab87b99c added unique id generation, shamirs secret functions 2018-12-18 12:42:51 +05:30
Abhishek Sinha
9c78d2179f fixed localbitcoin object cloning error, added trade balance update function 2018-12-18 11:25:18 +05:30
Abhishek Sinha
0c402ace22 fixed localbitcoin object cloning error, added trade balance update function 2018-12-17 22:43:55 +05:30
Abhishek Sinha
62ddb0653f added function createTradePipes 2018-12-15 17:03:10 +05:30
Abhishek Sinha
8fa20bd930 modified buy sell 2018-12-14 23:39:10 +05:30
Abhishek Sinha
519ed8cfdc added script for btc withdrawal 2018-12-13 23:53:47 +05:30
Abhishek Sinha
7e175beff2 added sign verify in withdraw function 2018-12-11 11:19:38 +05:30
Abhishek Sinha
73eecdb87f added sign verify in deposit function 2018-12-11 10:19:29 +05:30
Abhishek Sinha
6f166e352b completed sell order function 2018-12-10 11:48:07 +05:30
Abhishek Sinha
869a3c5e4d completed buy functionality 2018-12-09 21:52:44 +05:30
Abhishek Sinha
ab94b80f83 fixed deposit asset function 2018-12-08 18:11:38 +05:30
Abhishek Sinha
b7ec853eec fixed the multiple request error in buy and sell function 2018-12-07 21:45:39 +05:30
Abhishek Sinha
973dc0c984 improved cash withdraw functionality 2018-12-06 19:15:44 +05:30
Abhishek Sinha
bdc14379ff added withdraw inr function 2018-12-05 22:46:52 +05:30
Abhishek Sinha
8e39cf6a6c improved buy sell functions 2018-12-04 14:59:22 +05:30
Abhishek Sinha
7ba208de49 improved validateDepositedBTCBalance function 2018-12-04 11:20:17 +05:30
Abhishek Sinha
be2a706d72 added system_btc_reserves db 2018-12-03 14:38:41 +05:30
Abhishek Sinha
69271aba7b improved db structure 2018-12-02 21:52:43 +05:30
Abhishek Sinha
114aadc4c4 fixed mongoose string length issue, deposit buy sell done 2018-12-01 10:02:04 +05:30
Abhishek Sinha
e87201d56d improved deposit functionality 2018-11-26 19:46:17 +05:30
Abhishek Sinha
29e0e87c0c improved master key configs settings 2018-11-24 08:58:27 +05:30
Abhishek Sinha
1bac736cf0 improved fetch_configs function 2018-11-22 18:51:16 +05:30
Abhishek Sinha
1a8f91a592 updated deposit functionality 2018-11-21 15:41:33 +05:30
Abhishek Sinha
3b4362a36d added button to generate new flo keys 2018-11-21 12:56:16 +05:30
Abhishek Sinha
6615e3067c added function to deposit and withdraw assets 2018-11-20 21:40:45 +05:30
Abhishek Sinha
52375fc212 improved match_trade function 2018-11-18 20:19:01 +05:30
Abhishek Sinha
7331d50c9d added placing buy and sell orders functionality 2018-11-17 17:02:04 +05:30
Abhishek Sinha
a13bcc3338 modified trade_buy and trade_sell 2018-11-16 17:40:30 +05:30
Abhishek Sinha
273b64b8d4 added ui for db data 2018-11-12 14:33:24 +05:30
Abhishek Sinha
07770f1a41 added ui for db data 2018-11-12 12:35:52 +05:30
Abhishek Sinha
c743438db6 started all node data syncing feature 2018-11-06 22:08:12 +05:30
Abhishek Sinha
498025f079 added new db datablocks and its update feature 2018-11-06 19:50:02 +05:30
Abhishek Sinha
a0864b2409 started code to sync nodes 2018-11-05 14:09:15 +05:30
Abhishek Sinha
13a6d7e76a added actions object in localbitcoinplusplus 2018-11-04 15:11:00 +05:30
Abhishek Sinha
b5581a8526 moved flo addresses to localbitcoinplusplus object and configured their properties 2018-11-04 14:05:47 +05:30
Abhishek Sinha
d15d7b7fa3 fixed fetch_configs function 2018-11-01 19:51:35 +05:30
Abhishek Sinha
5f904cde9e modified fetch_configs function 2018-10-31 20:59:35 +05:30
Abhishek Sinha
6ec3cb33d8 added code for adding flo keys to db 2018-10-30 22:19:37 +05:30
Abhishek Sinha
d7ff21f1e4 added indexedDB functions 2018-10-30 13:30:33 +05:30
Abhishek Sinha
7940c94c87 added indexedDB functions 2018-10-30 11:53:00 +05:30
Abhishek Sinha
87868ef1b4 flosend signature issue fixed 2018-10-26 21:02:05 +05:30
Abhishek Sinha
fde1bb9704 added FLO address generate functionin index.html 2018-10-24 19:02:16 +05:30
Abhishek Sinha
be2efeb1e8 added fetch_config function to fetch configs from our FLO address 2018-10-23 20:15:01 +05:30
Abhishek Sinha
6989c93717 flo comment write and fetch functions complete in flosend.html 2018-10-22 14:04:39 +05:30
Abhishek Sinha
dfb0297929 added flosend.html 2018-10-21 23:00:33 +05:30
Abhishek Sinha
d7326aad3e Merge branch 'master' of https://github.com/avishkarabhishek786/localbitcoin- 2018-10-20 21:05:54 +05:30
Abhishek Sinha
7a68e035f2 improvedcomment parsing, structured the code 2018-10-20 21:02:05 +05:30
Abhishek Sinha
d956a610c6
Rename main.html to index.html 2018-10-19 18:46:10 +05:30
Abhishek Sinha
f18efe7110 organised project structure 2018-10-18 07:50:57 +05:30
Abhishek Sinha
99ed562a6d added parsing FLO comments feature 2018-10-18 07:25:22 +05:30
Abhishek Sinha
30bf13f336 improved communication process between server and client 2018-10-16 14:38:08 +05:30
Abhishek Sinha
86df641747 sending trade orders to server through sockets 2018-10-15 16:20:34 +05:30
Abhishek Sinha
60ae08f8b2 validate_order and place_order functions complete in trade class 2018-10-14 22:16:24 +05:30
Abhishek Sinha
ce29903820 adding sockets code 2018-10-14 16:33:02 +05:30
Abhishek Sinha
f3f82cabe2 bootstrap code for trade and keys functions 2018-10-13 21:43:57 +05:30
Abhishek Sinha
04bcb626b3 Fixed sign function error. sign verify functions complete. 2018-10-12 12:16:02 +05:30
Abhishek Sinha
526b6996e1 verify function complete. 2018-10-10 18:26:02 +05:30
Abhishek Sinha
be2a649b39 added sign functionality 2018-10-09 21:36:36 +05:30
Abhishek Sinha
054eef05b2 rohit sir sign verify version 2018-10-09 15:30:25 +05:30
Abhishek Sinha
9481074f0c sign function complete 2018-10-06 21:26:27 +05:30
Abhishek Sinha
34c9e94365 initial bootstarpping 2018-10-04 19:57:02 +05:30