Does it matter if the joist spacing is 16″ or 24″ o.c. for the blocking?

No. For lateral stability of floor joists and rafters, blocking requirements are based on the d/b ratio. See WFCM 3.3.1.4 and 3.5.1.3.