Convection at the melting point: A thermal history of the earth's core