benchmark/smallbank/load.js
/**
 * Generate unique account key for the transaction
 * @returns {Number} account key
 **/
Generate unique account key for the transaction
@returns {Number} account key
Generate unique account key for the transaction @returns { Number } account key
function generateAccount() {
    if(typeof prefix === 'undefined') {
        prefix = process.pid;
    }
    let count = account_array.length+1;
    let num = prefix.toString() + count.toString();
    return num;
}
function generateAccount ( ) { if ( typeof prefix === 'undefined' ) { prefix = process . pid ; } let count = account_array . length + 1 ; let num = prefix . toString ( ) + count . toString ( ) ; return num ; }
Generate unique account key for the transaction
 @returns {Number} account key
Generate unique account key for the transaction @returns { Number } account key
// should be [a-z]{1,9} // return parseInt(num);