The first federal securities fraud case involving a bitcoin investment scheme has ended with an 18-month jail sentence.