Fix btc/ltc in. Rewrite bitcoinin. ref #255.