The New York State Senate has passed a bill establishing a moratorium on cryptocurrency mining using carbon-based power sources.