pub fn random_transaction(tx: &mut MutableTransaction, single: bool)