Is this floor salvageable?

Decided to rip up a bit of carpet in the century home I just bought to find this painted hardwood underneath. Hard to tell what kind of wood it is with the paint job (and I’m ignorant). Wondering if it’s worth sanding/refinishing or if it’s a lost cause. Any guidance is extremely appreciated!