Commit Graph

515 Commits

Author SHA1 Message Date
0a7927d5ca
Update cloud.js
1. Fixing the leading 00 byte routing problem by removing bigInteger step in decodeID
2. Optimization of decodeID while building buckets
2025-08-21 06:57:54 +05:30
sairaj mote
36d15bd7f8
Update cloud.js
Added ethereum address handling for decodeID function
2023-10-15 18:11:48 +05:30
sairaj mote
6a57aa1273
Update floCrypto.js
Added support for ethereum address validation
-- floCrypto.validateAddr
-- decodeAddress
2023-10-15 15:57:12 +05:30
eba2d7b37d
Update cloud.js 2023-10-15 13:10:01 +05:30
c5f4e61678
Update cloud.js 2023-10-15 13:01:09 +05:30
d445a389fc
Delete errors database.js
Change the format of messages into escaped backticked form to solve the cloud not deleting data older than a week.
2023-10-11 08:08:22 +05:30
884e0df822
Added missing semi-colon 2023-10-10 12:49:55 +05:30
b08045753d
Fixing missing space in DB.clearUnauthorisedAppData
Missing space was preventing deletes from UnAuthorisedApps which has been fixed in this update.
2023-10-09 19:10:54 +05:30
76e35cf1bb Adding the documentation for functions 2023-10-08 15:37:36 +05:30
ffda89578e Adding the documentation for functions 2023-10-08 13:37:55 +05:30
sairajzero
ffa30c6e54 bug fix: edit comment not resolving 2023-07-26 03:37:55 +05:30
sairajzero
9ea6e01f47 bug fix 2023-07-26 03:34:22 +05:30
sairajzero
0ef054ef4f Improvement: edit comment request
- a request signature is required to process the request (which is validated by time, but not stored. ie, only re-signing of actual data will be store)
2023-07-26 03:23:14 +05:30
sairajzero
8e0fba461c Adding edit (comment) data feature
- Allows sender to edit comment field anytime by updating the signature
2023-07-25 05:16:27 +05:30
sairajzero
9468db3e1c Bug fix
- Fixed: DB.storeNode not returning a Promise
2023-07-08 13:20:22 +05:30
sairajzero
f585a76e64 Bug fix
- Fixed: data not forwarded to backup nodes properly
2023-07-06 22:54:55 +05:30
sairajzero
121979b696 SQL improvement
- Improved SQL query for periodic clearing of old/unauthorised data
2023-07-06 22:29:38 +05:30
sairajzero
0bff57c28b Bug fix
- Fixed: prev_node still retained sometimes even when no other nodes are online
2023-07-06 21:59:26 +05:30
sairajzero
928739ce61 Merge https://github.com/ranchimall/Standard_Operations 2023-07-06 21:52:42 +05:30
sairajzero
904deaa63c floBlockchainAPI v3.0.1b - bug fix
- Fixed: vin address at .addresses[0] not .scriptSig.addresses[0]
2023-07-05 13:48:38 +05:30
sairajzero
e120b657da floBlockchainAPI v3.0.1a
- Fixed: readTx and all its dependencies not having txs property when address (floID) doesnt have any tx
2023-07-05 13:35:07 +05:30
sairajzero
5398fcbbbc floBlockchainAPI v3.0.1
- Fixed readTxs: not working
- Removed fromBlock and toBlock options from readTxs

- Fixed: chain querying to blockbook format for readAllTxs, readData, getLatestData

- Changed `mempool` option to `confirmed` option (for blockbook API)
- Removed `before` options from respective fns
2023-07-05 05:14:44 +05:30
sairajzero
d15af05764 floBlockchainAPI v3.0.0: BlockBook API
- Converting API calls to FLO blockbook API
- Changes and fixes required for the same
2023-07-04 00:20:24 +05:30
sairajzero
98b5190b8f Handling unhandledRejection error 2023-06-20 15:33:28 +05:30
sairajzero
49d5c2411c btcOperator v1.1.3b: fix
- Fixed: fee increment minimum value
Minimum fee increment should be atleast MIN_FEE_UPDATE (219 satoshi)
2023-06-01 21:09:50 +05:30
sairajzero
365d3d4503 btcOperator v1.1.3a: bug fix
- Fixed: minor syntax errors and typos
- Fixed: createTransaction not giving correct fee and output value when dust is ignored
2023-06-01 21:06:04 +05:30
sairajzero
34c30aea05 btcOperator v1.1.3: increase fee
- editFee: increase the fee for the given transaction.
can pass either tx hex directly to edit it, or pass txid of unconfirmed tx to edit it for rebroadcasting

- transaction outputs will be removed if the value is less than DUST amount (546 satoshi)
2023-06-01 20:03:42 +05:30
sairajzero
e60a904e1d sql query update for searchData
- use placeholders for all user given values
2023-05-19 03:15:29 +05:30
Sai Raj
e5b05ed302
Merge pull request #11 from ranchimall/dev
flosight changes
2023-05-19 02:22:25 +05:30
sairajzero
9d2c31688a Fix for flosight changes 2023-05-19 02:21:28 +05:30
sairajzero
b4a911947c move required stdop files to src/ 2023-05-19 01:55:54 +05:30
sairajzero
b89c6c72bd Merge https://github.com/ranchimall/Standard_Operations into dev 2023-05-19 01:54:02 +05:30
sairajzero
e5de534902 remove stdop files 2023-05-19 01:52:59 +05:30
Sai Raj
daeef19d5a
Merge pull request #10 from ranchimall/master 2023-05-19 01:01:09 +05:30
Sai Raj
3a00221587
Merge branch 'sairajzero:master' into master 2023-05-19 00:59:49 +05:30
sairajzero
92303cbc47 floBlockchainAPI v2.5.6b: bug fix 2023-05-13 18:18:23 +05:30
Sai Raj
0eb4215f23
Merge branch 'sairajzero:master' into master 2023-05-10 02:13:33 +05:30
sairajzero
d777303097 floTokenAPI v1.0.4a
- fixed: typo in bulkTransferTokens
2023-05-10 02:01:47 +05:30
sairajzero
94fb4f4849 compactIDB v2.1.2
- Fixed: options.limit not working in searchData
- Added option reverse to searchData (if set to true, the ordering will be reversed
2023-05-10 01:50:46 +05:30
sairajzero
1390c91907 floBlockchainAPI v2.5.6a
- minor bug fix: default value for options missing in readAllTxs fn
- removed flosight.duckdns.org from apiURL
2023-05-10 01:46:36 +05:30
sairajzero
46ae8581e4 floDapps v2.4.0
- Update for new flosight version
- requires floBlockchainAPI >= v2.5.6
- requires floCloudAPI >= v2.4.3a

- lastTx now stores the lastItem property (ie, txid)
- backward-support: maintaining support for idb data (lastTx) from old floDapps module to be converted to this version
2023-05-04 17:09:02 +05:30
sairajzero
9e10a02dc8 floBlockchainAPI v2.5.6
- All search query (get method) now uses URLSearchParams to construct the string
- renamed all lastKey property to lastItem to match flosight response
2023-05-04 17:04:55 +05:30
sairajzero
704def4db1 floCloudAPI v2.4.3a
- Added property: SNStorageName (string content "SuperNodeStorage"
2023-05-04 16:59:10 +05:30
sairajzero
7e618c98f2 floTokenAPI v1.0.4: Added bunkTransferTokens
- Added bunkTransferTokens: bulk transfer tokens to multiple receivers
- usage: floWebWallet.bunkTransferTokens(sender, privKey, token, receivers)
sender: floID of sender
privKey: private key of sender
token: token to send
receivers: an object representing receiver floID and token amount
ie, {receiverID1: amount1, receiverID2: amount2....}
eg: {Fxyz: 123, Fpqr:321, Fabc: 987}
2023-05-02 22:15:54 +05:30
sairajzero
a762f4441b floBlockchainAPI v2.5.5a: bug fix 2023-05-02 21:47:48 +05:30
sairajzero
b09c88f0df floDapps v2.3.5
- Added get property trustedIDs to floGlobals
ie, floGlobals.trustedIDs will give the list of trustedIDs for the app
2023-05-01 20:44:44 +05:30
sairajzero
8afde73e78 floBlockchainAPI v2.5.5: adding getLatestData
- Added getLatestData: Get the latest flo Data that match the caseFn from txs of given Address
2023-04-29 05:29:39 +05:30
sairajzero
fe33250b47 floBlockchainAPI v2.5.4
- Adding support for 'before' and 'latest' option in readTxs and its derivatives
2023-04-29 04:36:56 +05:30
sairajzero
7bd528d55e floBlockchainAPI v2.5.3
- Added waitForConfirmation: Wait for the given txid to get confirmation in blockchain
2023-04-29 03:22:38 +05:30
sairajzero
456e9097de floBlockchainAPI v2.5.2: Added splitUTXOs
- splitUTXOs: split sufficient UTXOs of a given floID for a parallel sending
2023-04-29 03:03:45 +05:30