Also remove bogus "nVersion = this->nVersion" assignments. These were leftovers from old times.
txdb.h does not include validation.h anymore, so we need these structs somewhere else