The Securities and Exchange Commission sued the two largest cryptocurrency exchanges this week over allegations of operating as unregistered securities exchanges, rattling the industry but potentially lighting the way to more regulatory certainty.