Commit Graph

231 Commits

Author SHA1 Message Date
Abhishek Sinha
bbe53e097d fixed updateinDB not updating timestamp after updating vectorClock, resolved to older logic in readDbByIndex, sending whole data to next backup in supernode_went_down 2019-10-18 17:17:42 +05:30
Abhishek Sinha
5927845f7c added code in exportUserDataFromOneSupernodeToAnother to remove users from kbucket and kbucktStore, added code to remove is_deletable data during primary sync 2019-10-17 12:54:47 +05:30
Abhishek Sinha
ea1c155681 fixed backup sync issue 2019-10-16 17:09:08 +05:30
Abhishek Sinha
c961821a04 fixed errors in backup syncing 2019-10-15 17:14:55 +05:30
Abhishek Sinha
5bc7b4753e improved logic for left supernode notifying right supernode of a dead supernode 2019-10-14 18:49:37 +05:30
Abhishek Sinha
c12b1d7e9f fixed issues in db sync after supernodes die 2019-10-12 17:52:45 +05:30
Abhishek Sinha
8e44cb400e fixed left node db sync issue 2019-10-11 22:17:15 +05:30
Abhishek Sinha
44deb33bc5 fixed issue of right supernodes not running fireNodeGoodByeEvent function 2019-10-07 21:54:42 +05:30
Abhishek Sinha
5cb9671217 added code to inform next right Supernode about a dead Supernode 2019-10-06 21:34:48 +05:30
Abhishek Sinha
6cbbfa3208 added code to notify all Supernode of a event 2019-10-03 21:24:57 +05:30
Abhishek Sinha
2949db59be added code for myClosestSupernodes object, recording all incoming temp ip of Supernodes 2019-10-01 21:07:09 +05:30
Abhishek Sinha
295f7a21d1 replaced backup_supernode_up to reactor events definations 2019-10-01 15:01:56 +05:30
Abhishek Sinha
856bb82ce7 fixed fetch_config and consequent glitches in index and cash_payments_handler files 2019-09-29 21:30:06 +05:30
Abhishek Sinha
6db9c84059 fixed db functions promise issues 2019-09-27 15:42:22 +05:30
Abhishek Sinha
11bd902246 added min % difference logic between eqCrypto and user balance in tradeSell 2019-09-26 13:29:32 +05:30
Abhishek Sinha
cc0078d3cf fixed remove_extra_backup_connections function 2019-09-13 11:54:56 +05:30
Abhishek Sinha
a33b5a0c57 fixed backup ws connection loop issue 2019-09-12 21:31:28 +05:30
Abhishek Sinha
0a09c600b8 fixed backup ws connection loop issue 2019-09-12 21:28:19 +05:30
Abhishek Sinha
d13cceeb33 fixed backup ws connection loop issue 2019-09-12 21:19:15 +05:30
Abhishek Sinha
df82a2b094 fixed bugs in deposit withdraw cash 2019-09-10 17:35:28 +05:30
Abhishek Sinha
8e93485d97 fixed issues in cash deposit algo, added code to let cashier inform supernode withdrawal success 2019-09-09 18:43:37 +05:30
Abhishek Sinha
bf9a449c4f added code to let cashier inform supernodes about successfull cash deposit 2019-09-08 19:53:48 +05:30
Abhishek Sinha
007aecd9f9 fixed errors in recording withdraw cash request in db 2019-09-07 17:09:11 +05:30
Abhishek Sinha
275fc69b23 modified code for withdraw cash logic 2019-09-06 15:13:48 +05:30
Abhishek Sinha
3c8143543a modified code for withdraw cash logic 2019-09-05 16:43:36 +05:30
Abhishek Sinha
59460a84b7 added code to get pending deposits from supernode by cashier 2019-09-03 18:55:51 +05:30
Abhishek Sinha
a66b57c3cf added code to handle connections between supernode and cashier 2019-09-02 19:55:20 +05:30
Abhishek Sinha
34d8c8d296 added localbitcoinplusplus libs in cash_payments_handler.html 2019-09-01 17:09:21 +05:30
Abhishek Sinha
fa1f4bae61 added bootstrap code for cash_payments_handler.html 2019-08-31 12:12:32 +05:30
Abhishek Sinha
f3f303e54a fixed various issue in backup switching connections 2019-08-29 21:26:07 +05:30
Abhishek Sinha
2a322b1056 added new functionality Reallocation of users with their data when new supernodes join the system 2019-08-26 17:25:01 +05:30
Abhishek Sinha
eec8e42314 invoked remove_extra_backup_connection function 2019-08-26 11:34:14 +05:30
Abhishek Sinha
9edaad678f fixed more bugs in backup ws and fixed readyState unchanged on onclose event error 2019-08-25 13:21:55 +05:30
Abhishek Sinha
bb7779c159 fixed more bugs in backup ws and fixed readyState unchanged on onclose event error 2019-08-24 16:45:21 +05:30
Abhishek Sinha
1679a8104f fixed more bugs in backup ws and fixed readyState unchanged on onclose event error 2019-08-24 16:42:43 +05:30
Abhishek Sinha
b36e5f980b improved backup ws connection functionality 2019-08-23 14:15:35 +05:30
Abhishek Sinha
2b46ed925b added examples.mk 2019-08-18 18:35:37 +05:30
Abhishek Sinha
d985727a7e modified code to reconnect supernode to nearest live backups 2019-08-13 18:59:55 +05:30
Abhishek Sinha
f0eb1cbfe1 resolved ws shifting connections 2019-08-12 21:13:48 +05:30
Abhishek Sinha
89e56e8b0d updating balances in ui on balance change 2019-08-01 15:04:55 +05:30
Abhishek Sinha
c753fe571a added code to send data to non backup supernodes when all backup supernodes are dead 2019-07-28 18:20:55 +05:30
Abhishek Sinha
7a137ab9e0 fixed update_all_deposit_withdraw_success error 2019-07-27 17:37:18 +05:30
Abhishek Sinha
9186c03d38 added code to update backups about deposit and btc_reserves when a withdraw btc is complete 2019-07-27 16:20:04 +05:30
Abhishek Sinha
489c784bb3 modified withdraw btc to withdraw any amount upto balance 2019-07-26 13:46:47 +05:30
Abhishek Sinha
ca0834e293 modified withdraw btc to withdraw any amount upto balance 2019-07-25 16:33:57 +05:30
Abhishek Sinha
8ac62c34f1 fixed output greater than input error in sendtransaction, sending update to backups when btc withdraw is complete 2019-07-22 15:42:06 +05:30
Abhishek Sinha
d39d7abc6f added code to check live balance left after each withdraw crypto request and then deletion of data if no balance left 2019-07-21 14:24:43 +05:30
Abhishek Sinha
278b44528b fixed removal of duplicates from btc withdraw, fixed double spending due to execution from both primary and backup receive rpc during withdraw btc 2019-07-21 12:30:40 +05:30
Abhishek Sinha
ac9453d61f fixed removal of duplicates from btc withdraw, fixed double spending due to execution from both primary and backup receive rpc during withdraw btc 2019-07-20 20:08:22 +05:30
Abhishek Sinha
815360f0ad added code to prevent myClosestSupernode is_live value update when status is already eq to is_live field 2019-07-19 20:04:15 +05:30