A nationwide legalization of marijuana would keep some minor offenders out of jail and give the US government a huge source of revenue.