Commit Graph

21 Commits

Author SHA1 Message Date
sairajzero
43a3b16bbe Update database files and improvements
- moved base table struct to base_table.json
- moved cloud data struct to data_structure.json
- improvements to database module
- use database.DB from module.export cache instead of global mapping
2022-12-17 01:10:34 +05:30
sairajzero
2dc338f90d Keys module
- Improved security for node-privkey storage
- Private is stored as encrypted in file (loaded once on startup)
- node private key is stored in encrypted format in memory
- moved myPrivKey, myFloID to keys module
2022-11-29 04:39:33 +05:30
sairajzero
b303219d1b Bug fix
- Fixed: "Invalid pubKey" error when using other blockchain senderID
2022-07-27 22:30:58 +05:30
sairajzero
a506cd0d8d bug fix
- proxy id not requested properly
2022-07-26 15:37:09 +05:30
sairajzero
d6e30c6470 Support to accept addresses from other blockchain 2022-07-26 03:17:28 +05:30
sairajzero
39ca525822 Wrap kBucket module inside cloud.js 2022-07-26 03:07:54 +05:30
sairajzero
ff0161ef6b Update std_op
- Update std_op to latest
- Changed floCrypto.validateAddr to floCrypto.validateFloID
2022-07-22 02:17:24 +05:30
sairajzero
29a4e34815 Bug fix: liveRequest not working correctly
Fixed: Live request not working when senderID is passed as an array
2022-03-23 17:07:40 +05:30
sairajzero
060d3b618d Bug Fixes
- Fixed: processIncomingData throwing error when using POST request
- Fixed: tag/note data not working properly (getData returns an array, thus need to use result[0])
- Adding data, tag, note will return the entire data (ie, all columns) to user
- Fixed: a minor syntax bug in DB.getData
- Fixed: mostRecent option not giving the last record correctly
2022-03-08 01:23:17 +05:30
sairajzero
a12bd9e2a2 forward data changes (tag/note) to liveRequests 2022-03-07 04:23:08 +05:30
sairajzero
52571ccf8b New feature: Note And some other improvements
Added new feature 'Note':
- Receivers can add a tiny note to data received.
- For data received by adminID of authorised app, subAdmins will also be able to add/edit note

Improved Invalid error and Internal error feedback:
- Only Invalid errors are relayed to user ( Invalid error code: 400).
- Internal errors caused just indicate 'unable to process request' to user (Internal error code: 500)

Other changes:
- Processing Tag will now check application from data stored. application parameter is not required (Signature will require vectorClock instead of application).
- Fixed bug: clear-authorized-data using incorrect floID values
2022-03-03 00:39:03 +05:30
sairajzero
312e24629f New feature: Track online status
- Added a new feature to track online status of floID for an application via supernode using websocket connection
2022-02-28 04:45:26 +05:30
sairajzero
6ab35a666c Bug fixed: atVectorClock not working correctly 2022-02-20 23:51:26 +05:30
sairajzero
6b69469477 Bug fixes
- Changed some console.log to console.debug (Also added few more).
- Fixed: DB.lastLogTime not returning correct value
- Fixed: MySQL disconnection bug. Now using Pool connect for persistent connection.
- Fixed: connectNode not connecting properly due to a typo.
- Fixed: RECONNECT_NEXT_NODE const value not added
- Fixed: reconnectNextNode not triggered when only one node was online and a node comes online.
- Fixed: orderBackup not storing the order properly when less or just sufficient nodes available.
- Added: orderBackup to requesting data when sync is required
- Fixed: typo in sendStoredData
- Added: logInterval of _prevNode, _nextNode and _list
2021-07-26 05:31:54 +05:30
sairajzero
685a383c8e bug fix 2021-07-23 20:58:29 +00:00
sairajzero
dea8835245 bug fix
- Adding semicolons to end of statements to prevent potential bugs.
- Logged in ID and Database connection will be notified.
- Fixed: database.js - few functions not having return promise statement.
2021-07-23 03:06:00 +05:30
sairajzero
02d6bd0ca3 Adding install modules 2021-07-22 19:54:38 +05:30
sairajzero
bb21b1c436 update supernode modules
- Auto Disk cleanup
- Data migration (node addition and node deletion)
- Some minor bugs and typo fixes
2021-07-22 01:50:20 +05:30
sairajzero
433c395f8b update supernode modules 2021-07-18 16:43:30 +05:30
sairajzero
968e911b57 update supernode modules 2021-07-18 05:08:33 +05:30
sairajzero
71846daf8a Renaming files 2021-07-17 19:10:05 +05:30