floDapps.securePrivKey(pwd): replaces the stored private key with encrypted variant.
Changed made in startup function getCredentials to support securePrivateKey.
Improved and promisified clearCredentials.
sendTxMultiple:
There are 2 modes (given send amount, preserve ratio)
- Given Send Amount: Uses the given send amount from each sender IDs. Pass the senderPrivKeys as object with amount to invoke this mode
eg. { privateKey1: sendAmt1, privateKey2: sendAmt2...}
- preserveRatio: The ratio of the balance of the senders are maintained. Pass the senderPrivKeys as array of private keys.
eg. [privatekey1, privatekey2....]
*Note: receivers must always be object of floIDs with receive amount.
eg. {receiverID1: receiveAmt1, receiver2: receiveAmt2...}
writeDataMultiple:
There are 2 modes (preserveRatio, equalContribution)
- preserveRatio: preserves the ratio of the balance of senders
- equalContribution: all senders contribute equal amount to the transaction
Note:
*senderPrivKey and receivers are arrays
eq. [privateKey1, privateKey2, ..] and [receiverID1, receiverID2...]
*sends default amount (floGlobals.sendAmt) to each receiver)
*last (4th) parameter is optional:
(default) true: invokes preserveRatio mode
false: invokes equalContibution mode
mergeUTXOs: /merge all UTXOs of a given floID into a single UTXO
sendTxMulti: Send Tx from (and/or) to multiple floID
writeDataMulti: Write data into blockchain from (and/or) to multiple floID
Bugs Fixed:
- Fixed: sheet-view not cleared upon signout
Added:
- Added: Feature to sort the table contents (click on the column to sort)
- Added: Button to view the groupBy popup
- Added: Hovering on a log displays writer's floID and log time
Others:
- Hide sheet detail UI at startup
Bugs Fixed:
Fixed: Duplicates of sheetList and personList display after sign out and sign in.
Fixed: The new log entered displayed in 2nd row instead of 1st row
Fixed: Input fields not reseting after Entering a log
The following groupBy are available:
count: number of logs of each floID
total: total value of an attribute for each floID
avg: average value of an attribute for each floID
min: minimum value of an attribute for each floID
max: maximum value of an attribute for each floID