Changing the way txn_id is created

old : return substr(hash('sha256', mt_rand() . microtime()), 0, 10);
new : return dechex(time()); //makes the txnid smaller

Also removing useless spaces