Adding Sharmirs Secret functions
Store and retrive the private key and server password securely
A dump credential for each credential will be stored to improve security
clearCredentials(): clear the stored credentials
Supernode automatically deletes messages that are not sent by subAdmins of an application and applications that are not associated.
The delete occurs every one hour, the messages are stored for a configurable time (deleteDelay) before deleted
Limiting the rotation while connecting to backup nodes. i.e, not enough supernodes available.
Handling the above exception in backup_node_offline event
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
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
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
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
SuperNode-Client will automatically try to reconnect to SuperNodeWSS when disconnected
Blockchain data will be automatically refreshed at interval (set time = 1hr)