Commit Graph

108 Commits

Author SHA1 Message Date
sairajzero
3d0c8883b7 Improved floCloudAPI
floCloudAPI now stores the lastCommit value of the objects via requestObjectData, resetObjectData, updateObjectData

resetObjectData and updateObjectData now takes the new and old value from floGlobals.appObjects and lastCommit respectively

Parameter changes:
resetObjectData: function(objectName, options = {})
updateObjectData: function(objectName, options = {})
2020-03-10 22:00:56 +05:30
sairajzero
8652959e54 floCrypto: errorHanding
errorHanding added to floCrypto.getPubKeyHex and floCrypto.getFloIDfromPubkeyHex
2020-03-04 03:45:50 +05:30
sairajzero
47ca6a802e moving onloadStartup to a seperate script tag 2020-02-16 02:38:51 +05:30
sairajzero
d6c4b4882e changing TEST_MODE adminID 2020-02-16 02:36:35 +05:30
sairajzero
86ea714139 adding manage subAdmin to floDapps
floDapps.manageSubAdmins() allows the user to add and/or remove subadmin list via blockchain
*Requires Admin Privatekey of the app
2020-02-16 02:34:58 +05:30
sairajzero
c3a51f44a7 bug fix 2020-02-06 14:56:12 +05:30
sairajzero
7a6a2dc9ea Custom privKeyInput is made promisified
privKeyInput now uses given key when resolved and generates random key when rejected
2020-02-06 13:38:09 +05:30
sairajzero
cdeab33c20 Login as guest feature
Entering a empty string for private Key now automatically generated a random key and logins as guest
2020-02-03 18:43:29 +05:30
Sai Raj
43afe64fbf
Merge pull request #4 from sairajzero/master 2020-01-31 22:06:52 +05:30
sairajzero
2bf166ffd1 bug fix: floSupernode module 2020-01-31 20:22:35 +05:30
sairajzero
a44fe4be72 adding custom input for privkey 2020-01-31 14:42:42 +05:30
sairajzero
e3e034ae0a bug fix: vectorClock IDB 2020-01-22 22:25:02 +05:30
sairajzero
556f4ddadd bug fix: floCloudAPI 2020-01-07 15:06:03 +05:30
Sai Raj
bbb2a4596b
Merge pull request #3 from sairajzero/master 2020-01-05 20:53:21 +05:30
sairajzero
f5f44f9415 Merge branch 'master' of https://github.com/sairajzero/Standard_Operations 2020-01-05 20:44:14 +05:30
sairajzero
efbb6fa9e2 bug fix 2020-01-05 20:44:09 +05:30
sairajzero
73965d87fc adding event listner to startup functions
startUpSuccessLog and startUpSuccessLog Events are registered to log the start up functions
2020-01-05 20:40:53 +05:30
Sai Raj
2c6b422533
Merge pull request #2 from sairajzero/master 2020-01-05 20:17:37 +05:30
Sai Raj
2b847b7a4e
Update README.md 2020-01-05 20:13:53 +05:30
sairajzero
1301caaa40 adding a dummy floID as adminID 2020-01-05 20:00:02 +05:30
Sai Raj
8dbace647f
Merge pull request #1 from sairajzero/master 2020-01-05 19:55:09 +05:30
sairajzero
e40771eb23 bug fix: some missing libraries 2020-01-05 19:43:09 +05:30
sairajzero
c473d200c0 Improving floSupernode.kBucket module
Adding getInnerNodes and getOuterNodes
getPrevSupernode, getNextSupernode and determineClosestSupernode now return an array of floIDs
2020-01-05 19:42:34 +05:30
sairajzero
5e9926b87b bug fix: floDapps 2019-12-19 22:28:43 +05:30
sairajzero
5a2b6250ca adding floDapps std_Op
This std_op contains functions for FLO Dapp startup and other useful functions for FLO Dapps
2019-12-19 22:03:53 +05:30
sairajzero
e42a972f12 floCloudAPI: moving the reactor events to util and Promisifying all canon operations 2019-12-19 21:42:02 +05:30
sairajzero
afa8714d0e bug fix 2019-12-19 20:31:30 +05:30
sairajzero
8f3ef66d15 moving KBucket library to floSupernode tag 2019-12-19 20:27:21 +05:30
sairajzero
d09ada8261 floCrypto improvement
moving non canon functions to util property
2019-12-19 20:25:14 +05:30
sairajzero
7a60c9f134 Moving libraries to init_lib 2019-12-19 20:23:24 +05:30
sairajzero
a06f455026 Moved floGlobals to to head and added id to std_op script tag 2019-12-19 20:08:11 +05:30
sairajzero
e691662c82 adding send and request general data to floCloudAPI
sendGeneralData : sends general data to the cloud
requestGeneralData : request general data from the cloud
2019-12-12 18:11:26 +05:30
sairajzero
e7a74c785e Adding Shamir's Shared Secret to floCrypto
Adding Shamir's Shared Secret to floCrypto module
createShamirsSecretShares: create the shamirs secret shares
retrieveShamirSecret: retrives the secret from shares
verifyShamirsSecret: verify the shares with secret
Also adding randInt and randString to floCrypto module
2019-12-01 11:45:00 +05:30
sairajzero
577bee4d37 Adding requestApplicationData
requestApplicationData : request any message from the supernode cloud
Fixed minor bugs
2019-11-20 20:20:39 +05:30
Sai Raj
62ac2a9371
Merge pull request #2 from ranchimall/master 2019-11-20 18:20:13 +05:30
Sai Raj
5ae3214a67
Rename index.html to standard_Operations.html 2019-11-20 18:15:34 +05:30
sairajzero
ce28df6834 adding automatic fetch for flosight API 2019-11-20 02:07:35 +05:30
sairajzero
289089d972 Adding floCloudAPI
floCloudAPI has methods to send application data, request application data, reset or update object data.
2019-11-19 20:11:32 +05:30
sairajzero
d79d54b400 Updating to match the backup node feature of SN 2019-11-19 20:09:15 +05:30
sairaj mote
10a5393373
Update README.md 2019-10-20 01:15:39 +05:30
sairaj mote
41eb1dc452
added description for floBlockchainAPI and compact IDB operations 2019-10-20 01:07:28 +05:30
Sai Raj
57d16248d9
fixing bug in initDB 2019-10-17 17:21:07 +05:30
Sai Raj
049cd5823c
changing ws:// to wss:// in supernode module 2019-10-17 15:55:24 +05:30
Sai Raj
b1c6d8c153
fixing broadcastTx not been asynchronized call 2019-10-13 03:04:28 +05:30
sairajzero
ed59eeeb65 Added removeData in compactIDB 2019-10-06 03:51:13 +05:30
sairajzero
68472cad56 floBlockchainAPI.readData will now return a object with totalTxs and data 2019-10-06 03:15:18 +05:30
sairajzero
9da3168f45 Improved Read Data from blockchain via API
Replaced floBlockchainAPI's readSentData, readDataPattern, readSentDataPattern, readDataContains, readSentDataContains with a improved version 'readData'
readData is Promisfied function that reads and resolves floData from blockchain using API
Arguments :
addr - address from which the floData should be read
options - (optional object, default = {})
Options :
limit - maximum number of filtered data (default = 1000, negative  = no limit)
ignoreOld - ignore old txs (default = 0)
sentOnly - filters only sent data
pattern - filters data that starts with a pattern
contains - filters data that contains a string
filter - custom filter funtion for floData (eg . filter: d => {return d[0] == '$'})
2019-10-06 02:52:34 +05:30
sairajzero
8fd579dc5e Removed supernode Server
Removed supernode server so that this repo can be templated directly for projects
2019-10-04 21:16:55 +05:30
sairajzero
243e3300ae Merge branch 'master' of https://github.com/ranchimall/Standard_Operations 2019-10-04 20:41:08 +05:30
sairajzero
ae71390df4 fixing bugs 2019-10-04 20:35:10 +05:30