Exchange market for FLO to rupee# and vise-versa
- Backup data integrity is verified using Checksum for each table - If checksum mismatch is found (for a table) after a backup sync, the table data is cleared and re-synced - Moved backup sync module to backup/sync.js - Fixed: checkForRatedSellers not using correct asset when checking for rated sellers - Others: priceHistory is converted toFixed(3) before storing in DB. (As large/non-terminating decimals cause ambiguity btw nodes during checksum) |
||
|---|---|---|
| args | ||
| public | ||
| setup | ||
| src | ||
| .gitattributes | ||
| .gitignore | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| start.js | ||
exchange-market
Exchange market for FLO to rupee# and vise-versa
Run commands
npm install - Install the app and node modules.
npm run help - List all commands.
npm run setup - Finish the setup (configure and reset password).
npm run configure - Configure the app.
npm run reset-password - Reset the password (for private-key).
npm run create-schema - Create schema in MySQL database.
npm start - Start the application (main).
NOTE:
env variable PASSWORD required for npm start.
Windows:
$env:PASSWORD="<password>"; npm start
Linux:
PASSWORD="<password"> npm start
(Optional) Multiple instance can be run/setup on the same dir with different config files by using env variable 'I'.
Windows:
$env:I="<instance_ID>"; <command>
Linux:
I="<instance_ID>" <command>