Intial BTC-e rewrite