General Storage using SuperNodes
Go to file
sairajzero fd592da8ed Supernode Update
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
2020-09-17 17:45:20 +05:30
app Supernode Update 2020-09-17 17:45:20 +05:30
logs adding log directory 2020-01-02 00:55:54 +05:30
util Websocket Improvement 2020-09-17 17:07:05 +05:30
.config One-Click Startup 2020-01-01 23:21:11 +05:30
.gitattributes Initial commit 2019-10-04 20:44:18 +05:30
README.md One-Click Startup 2020-01-01 23:21:11 +05:30
start_supernode.sh One-Click Startup 2020-01-01 23:21:11 +05:30

SuperNodeStorage

FLO Supernode Storage is a Cloud Storage progam for FLO Dapps

Installation

  1. Download or clone the repo:

     git clone https://github.com/ranchimall/SuperNodeStorage
    
  2. Add a strong <server_password> in .config file

  3. Change other configurations (if needed)

  4. Host and publish the domain name or IP with port

Usage

  1. 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
    
  2. (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