Commit Graph

486 Commits

Author SHA1 Message Date
Sai Raj
9ada035e06
Merge pull request #1 from sairajzero/master
Merging stable version
2019-10-20 16:42:34 +05:30
sairajzero
fd0d0b11a9 fixing bugs 2019-10-20 16:14:59 +05:30
sairajzero
b9bb8de3f4 Added comment and improved KeyRange
vectorCLock can be used in following ways:
1. at X (at position)
2. from X ( lower bound)
3. from X to Y (upper and lower bound
4. to Y (upperBound)
2019-10-20 01:27:08 +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
sairajzero
0519fec34e Adding senderID to request filter 2019-10-18 22:04:22 +05:30
sairajzero
99f5958336 Improved searchData from IDB
IDB search data will only search in a lowerBound keyRange (thus reduces searching)
new IDB search option : can send only the last data matching the pattern
added type to be searched in request (optional)
made receiverID as optional in request data filtering
2019-10-18 18:21:49 +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
d44432f698
update request to send only after given vectorClock 2019-10-16 19:37:04 +05:30
Sai Raj
6373143908
fix : broadcastTx not been asynchronous 2019-10-13 03:07:40 +05:30
Sai Raj
b1c6d8c153
fixing broadcastTx not been asynchronized call 2019-10-13 03:04:28 +05:30
Sai Raj
77856eda07
adding pubKey of sender to storage 2019-10-07 19:06:58 +05:30
Sai Raj
eceb276354
Bug Fix 2019-10-07 01:24:25 +05:30
sairajzero
feecb47cc3 Improved Stability
SuperNode-Client will automatically try to reconnect to SuperNodeWSS when disconnected
Blockchain data will be automatically refreshed at interval (set time = 1hr)
2019-10-06 19:54:59 +05:30
sairajzero
e4151ddeea Added a simple background 2019-10-06 19:41:44 +05:30
Sai Raj
38fb975be3
Changing to FLO mainnet 2019-10-06 18:45:31 +05:30
sairajzero
65284528a5 updated to latest standard_operations and store supernode details in IDB 2019-10-06 04:09:36 +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
f2da7f0a35 Added receiverID field 2019-10-06 00:49:16 +05:30
sairajzero
4b15ca2673 Changing WSS port to 7130 2019-10-04 21:28:26 +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
459c5b01f4 Adding Supernode storage and responses 2019-10-04 21:08:29 +05:30
Sai Raj
632fef40b3 Initial commit 2019-10-04 20:44:18 +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
sairajzero
9bdac8b042 fixing some bugs 2019-10-04 20:34:26 +05:30
sairajzero
2ea373ef2d improved reading floData via API 2019-10-04 20:31:56 +05:30
Sai Raj
268ffe4197
Update index.html 2019-10-03 00:20:20 +05:30
Sai Raj
e2948b1db5
Update README.md 2019-09-29 22:07:01 +05:30
Sai Raj
d7f1d215dd
Update README.md 2019-09-29 22:04:11 +05:30
sairajzero
bd52c44169 Added compactIDB operations and fixed bugs 2019-09-29 13:55:46 +05:30
sairajzero
dd402cd454 Adding files 2019-09-27 21:34:16 +05:30
sairajzero
bf24208898 Initial commit 2019-09-27 21:10:01 +05:30