sairajzero
76ec38ceed
read subAdmin list for application from blockchain
...
now reads subadmin list for every application from blockchain.
subadmin list will be used to delete unwanted messages from supernode IDB
2019-11-26 17:21:43 +05:30
sairajzero
bfb86f6085
Collect application list from blockchain
...
Supernode now collect list of applications with their adminID from blockchain data
2019-11-26 16:16:05 +05:30
sairajzero
a7d45c32da
improving serveList and storeList updation and usage
2019-11-24 19:50:04 +05:30
sairajzero
3f7a8c1479
bug fix: backup rotation exceptions
...
Limiting the rotation while connecting to backup nodes. i.e, not enough supernodes available.
Handling the above exception in backup_node_offline event
2019-11-23 21:11:53 +05:30
sairajzero
db3c86e8c7
bug fix
2019-11-19 11:04:27 +05:30
sairajzero
2ae683d51e
bug fix : removing kbucket rotation limit
2019-11-19 09:54:56 +05:30
sairajzero
da3e5bdad4
bug fix : adding another sleep for 2s
2019-11-17 23:30:48 +05:30
sairajzero
a0387132cf
bug fix
2019-11-16 20:35:06 +05:30
sairajzero
0f50db3315
bug fix
2019-11-16 20:28:43 +05:30
sairajzero
9c445a65fc
bug fix
2019-11-16 20:18:09 +05:30
sairajzero
2757aaa20e
bug fix : removing async sleep
2019-11-16 19:36:11 +05:30
sairajzero
37ece209fa
adding sleep delay before connecting to backup nodes
2019-11-16 19:32:46 +05:30
sairajzero
c6383a6f8f
bug fix
...
Fixed : getNextSupernode and getPrevSupernode return object bug
2019-11-16 01:20:50 +05:30
sairajzero
466d0d621b
bug fix : start serve and store backup process only when its not
2019-11-15 17:56:04 +05:30
sairajzero
f123cf611d
Reforming and invoke request data
...
Reformed the request data event
Trigger the request data event when a node comes back online and when a node is asked to store backup of a node
2019-11-15 17:30:23 +05:30
sairajzero
b56f90d292
Flow when a node revives
...
Added the indications and processes when a noded comes back online:
Connect to the backup nodes
Inform the backup nodes that node is revived
Serving node transfers the serve list to revived node
Storing nodes informs their farest stored backup to connect to revived node
2019-11-14 02:12:16 +05:30
sairajzero
d7be0d414f
Flow when a node dies
...
Added the indications and processes when a noded goes offline:
The previous nodes that the dead was serving ll connect to a next available node
The immediate prev node informs the immediate next node to start serving the dead
2019-11-12 21:15:14 +05:30
sairajzero
f7a14aa304
Merge branch 'master' of https://github.com/sairajzero/SuperNodeStorage
2019-11-09 19:25:14 +05:30
sairajzero
48700f4b95
recompiling binary
2019-11-09 19:22:13 +05:30
sairajzero
0e6c81e5ab
backup feature : indicate_sn_up, store_backup_data, request_data
...
Added following features:
inidicate the next node when a sn is down
inidicate the next node when a sn is up
request backuped data when a sn comes back online
2019-11-08 22:33:17 +05:30
sairajzero
4f4dc0b431
Backup Feature: serve and send backup
...
added : serve as backup node
added : send backup data to backup node
improved connecting to nearest backup node
2019-11-08 01:55:47 +05:30
sairajzero
95a3c9a127
Initializing backup feature requirements
...
Restructuring IDB to provide more reliable storage for upcoming backup features
2019-11-05 21:41:47 +05:30
sairajzero
5e6d47a042
Supernode status detection
2019-11-02 01:55:13 +05:30
sairajzero
fd0d0b11a9
fixing bugs
2019-10-20 16:14:59 +05:30
sairajzero
b9bb8de3f4
Added comment and improved KeyRange
...
vectorCLock can be used in following ways:
1. at X (at position)
2. from X ( lower bound)
3. from X to Y (upper and lower bound
4. to Y (upperBound)
2019-10-20 01:27:08 +05:30
sairajzero
0519fec34e
Adding senderID to request filter
2019-10-18 22:04:22 +05:30
sairajzero
99f5958336
Improved searchData from IDB
...
IDB search data will only search in a lowerBound keyRange (thus reduces searching)
new IDB search option : can send only the last data matching the pattern
added type to be searched in request (optional)
made receiverID as optional in request data filtering
2019-10-18 18:21:49 +05:30
Sai Raj
d44432f698
update request to send only after given vectorClock
2019-10-16 19:37:04 +05:30
Sai Raj
6373143908
fix : broadcastTx not been asynchronous
2019-10-13 03:07:40 +05:30
Sai Raj
77856eda07
adding pubKey of sender to storage
2019-10-07 19:06:58 +05:30
Sai Raj
eceb276354
Bug Fix
2019-10-07 01:24:25 +05:30
sairajzero
feecb47cc3
Improved Stability
...
SuperNode-Client will automatically try to reconnect to SuperNodeWSS when disconnected
Blockchain data will be automatically refreshed at interval (set time = 1hr)
2019-10-06 19:54:59 +05:30
sairajzero
e4151ddeea
Added a simple background
2019-10-06 19:41:44 +05:30
Sai Raj
38fb975be3
Changing to FLO mainnet
2019-10-06 18:45:31 +05:30
sairajzero
65284528a5
updated to latest standard_operations and store supernode details in IDB
2019-10-06 04:09:36 +05:30
sairajzero
f2da7f0a35
Added receiverID field
2019-10-06 00:49:16 +05:30
sairajzero
4b15ca2673
Changing WSS port to 7130
2019-10-04 21:28:26 +05:30
sairajzero
459c5b01f4
Adding Supernode storage and responses
2019-10-04 21:08:29 +05:30
Sai Raj
632fef40b3
Initial commit
2019-10-04 20:44:18 +05:30