I woke up to a small painful lump/knot on the side of my second toe, near the joint. Throughout the day the toe became more painful and began to swell?

Night Moves.. It might be possible that you managed to traumatize you toe during your sleep. Not necessarily an acute, severely inflicted damage, but a more subtle low intensity type. To remove all doubt, within a day or two, have it evaluated by a specialist if it does not start resolving.