replacing flooring with no subfloor - walls sit on top of finish floor
if the wall parallel to the joists is not over a joist it is not a structural wall, and so your blocking plan would work to support the wall you will probably need further blocking between the blocking to support the edges of your new floor, unless you plan to remove the remnants and install your new flooring under the walls.