What evidence did scientists use to figure out that earth inner core is solid rock?

They do not have evidence. In fact most pf things are not even true. The only thing they say they did was put a stick on the ground and with a shockwave they knew what was inside the earth. My opinion is that the core is not what scientists say it is. Due to the fact that we know more about the moon than our own planet.