General Storage using SuperNodes
Changes: - Changes for wss update Added: - Added time to data - errorFeedback: (if on)Feedback if any error in processing data from users. - live-request: When a new data is stored, sends it to all respective requestors of that floID. - deleteRequest: Users will now be able to delete the data received by them from cloud. (Note: user must be the receiverID of the data; sign verification ll be done). Improvements: - Improved data processing from wss. - Improved data-signature format (new format: "receiverID|time|application|type|message|comment"). - Time in data must be within the allowed delayDelta. - Feedback vectorclock of stored data to the sender. - Dedicated disk will now be applied to authorised apps instead of diskList (removed floGlobals.diskList) . Authorising apps will automatically create a new disk for the app and imports all data of the app from defaultDisk. . Unauthorising apps will automatically exports all data from app disk to defaultDisk and deletes the app disk. (Caution: Unauthorising an app will cause diskCleanUp to delete all data stored before deleteDelay). - Improved autoDeleteStoredData to diskCleanUp. For defaultDisk: deletes all data before deleteDelay, For authorised apps deletes data before deleteDelay sent 'from non-subAdmins' and/or 'to non-admin'. Bug fixes: - Minor bug fixes |
||
|---|---|---|
| app | ||
| logs | ||
| util | ||
| .config | ||
| .gitattributes | ||
| README.md | ||
| start_supernode.sh | ||
SuperNodeStorage
FLO Supernode Storage is a Cloud Storage progam for FLO Dapps
Installation
-
Download or clone the repo:
git clone https://github.com/ranchimall/SuperNodeStorage -
Add a strong <server_password> in
.configfile -
Change other configurations (if needed)
-
Host and publish the domain name or IP with port
Usage
-
Start the app using the following command in terminal. The server WSS will be started and the supernode html-js will be opened in the browser.
./start_supernode.sh -
(Only for first time login) Enter the <server_password> and <private_key> when prompted
The Supernode storage will automatically start
NOTE: The <server_password> and <private_key> will be stored securedly in IndexedDB of the browser
NOTE: Users may add start_supernode to bootup process to automatically start the supernode during boot up