The New York Attorney General Letitia James has reached a $2 billion settlement with Digital Currency Group subsidiary Genesis.