bitcoin-client

bitcoin client library for price ticker and wallet

git clone https://9o.is/git/bitcoin-client.git

commit 46605ef78e0fbecad7f15a4deeec3d55fdaaf42c
parent 1173cf9ed01df2b355c8a878ca7c02fb182a29e9
Author: Jul <jul@9o.is>
Date:   Sun,  5 Oct 2014 15:05:51 -0400

moved Exchange to inc.pyc.bitcoin package

Diffstat:
Asrc/main/scala/inc/pyc/bitcoin/Exchange.scala | 18++++++++++++++++++
Dsrc/main/scala/inc/pyc/bitcoin/exchange/BitcoinExchange.scala | 19-------------------
Msrc/main/scala/inc/pyc/bitcoin/provider/BitStamp.scala | 2+-
3 files changed, 19 insertions(+), 20 deletions(-)

diff --git a/src/main/scala/inc/pyc/bitcoin/Exchange.scala b/src/main/scala/inc/pyc/bitcoin/Exchange.scala @@ -0,0 +1,17 @@ +package inc.pyc.bitcoin + +import service._ +import akka.actor._ + +/** + * Bitcoin Exchange service to buy and sell bitcoin + */ +sealed trait Exchange + +/** + * Bitcoin Exchange service to buy and sell bitcoin via HTTP + */ +trait HttpExchange + extends HttpService with HttpPriceTicker { + this: Actor with ActorLogging => +} +\ No newline at end of file diff --git a/src/main/scala/inc/pyc/bitcoin/exchange/BitcoinExchange.scala b/src/main/scala/inc/pyc/bitcoin/exchange/BitcoinExchange.scala @@ -1,18 +0,0 @@ -package inc.pyc.bitcoin -package exchange - -import service._ -import akka.actor._ - -/** - * Bitcoin Exchange service to buy and sell bitcoin - */ -sealed trait Exchange - -/** - * Bitcoin Exchange service to buy and sell bitcoin via HTTP - */ -trait HttpExchange - extends HttpService with HttpPriceTicker { - this: Actor with ActorLogging => -} -\ No newline at end of file diff --git a/src/main/scala/inc/pyc/bitcoin/provider/BitStamp.scala b/src/main/scala/inc/pyc/bitcoin/provider/BitStamp.scala @@ -1,10 +1,10 @@ package inc.pyc.bitcoin package provider -import exchange._ import dispatch._ import akka.actor._ import net.liftweb.json._ +import inc.pyc.bitcoin.HttpExchange /** * BitStamp REST services