Josh Harvey
78df2f7582
bumped to 0.3.4
2014-04-23 10:04:42 -04:00
Josh Harvey
e1c6d3a05f
lowercased column names
2014-04-23 09:52:54 -04:00
Maciej Małecki
7464b93d7b
Make tradeQueueBalance private
...
Move `consolidateTrades` to private section
2014-04-21 00:41:00 +02:00
Maciej Małecki
49f77c50b8
Bring back trading to fiatBalance
2014-04-21 00:37:12 +02:00
Maciej Małecki
d83a46bf7d
Default to Trader's currency
2014-04-21 00:37:12 +02:00
Josh Harvey
3b55e02b76
updated lamassu-config, bumped to 0.3.3
2014-04-20 19:41:52 +03:00
Josh Harvey
3fd264069c
bump to 0.3.2
2014-04-20 18:11:10 +03:00
Josh Harvey
6ed979b1af
simplified unpairing
2014-04-20 12:07:48 +03:00
Josh Harvey
e50567ff81
bumped to 0.3.1
2014-04-19 20:50:35 +03:00
Josh Harvey
15cf0d08f2
Merge branch 'master' of github.com:lamassu/lamassu-server
2014-04-19 20:37:27 +03:00
Josh Harvey
79ac7ec936
fixed bin path
2014-04-19 20:36:50 +03:00
Maciej Małecki
9ca20d8bb9
Bump version to 0.3.0
2014-04-18 17:00:16 +02:00
Josh Harvey
b5400cd559
assign to _lamassuConfig
2014-04-18 17:46:05 +03:00
Josh Harvey
72e19cdc96
Update README.md
2014-04-18 17:44:40 +03:00
Josh Harvey
eae1749e88
Merge pull request #7 from lamassu/atm-protocol-merge
...
ATM protocol merge
2014-04-18 17:43:21 +03:00
Josh Harvey
1355d91ec2
Merge pull request #8 from lamassu/idempotent-tests
...
Idempotent tests
2014-04-18 17:42:43 +03:00
Maciej Małecki
aa81cfe33b
Make idempotent send work, together with a test
2014-04-17 13:07:24 +02:00
Maciej Małecki
f90ded6144
Fix table name
2014-04-17 13:05:40 +02:00
Maciej Małecki
a6687964ba
Add Trader#_consolidateTrades
2014-04-17 13:02:36 +02:00
Maciej Małecki
27f0119022
Restore /trade route
2014-04-16 17:09:54 +02:00
Maciej Małecki
b79bdf8789
Start adding trading back to Trader
2014-04-16 17:09:39 +02:00
Maciej Małecki
8cb9783bde
JSHint trader
2014-04-16 14:58:44 +02:00
Maciej Małecki
971f3f2f54
JSHint, remove trading
2014-04-16 14:49:16 +02:00
Maciej Małecki
73d3d4b569
Add missing variable
2014-04-16 14:46:18 +02:00
Maciej Małecki
770cc8392c
Change the numbers around a bit
2014-04-16 14:19:36 +02:00
Maciej Małecki
f5f27edaf0
Move `postgresql_interface.js to lib
2014-04-16 11:15:03 +02:00
Maciej Małecki
d9682e668f
Remove favicon and methodOverride middlewares
...
`methodOverride` is supposed to provide compatibility for older
"browsers" which aren't able to send XHR requests with proper HTTP
methods. Since the only thing talking to `lamassu-server` is the ATM, we
don't need this middleware.
`favicon` middleware is exactly what it sounds like.
2014-04-16 10:59:15 +02:00
Maciej Małecki
a6f899f062
Add a unit test for ticker
2014-04-16 10:12:52 +02:00
Maciej Małecki
8276d87e2a
Add optional callback to pollRate
2014-04-16 10:12:38 +02:00
Maciej Małecki
5b53d59cba
Add optional callback to pollBalance
2014-04-16 10:01:31 +02:00
Maciej Małecki
926e10da01
Add stopPolling method
2014-04-16 09:36:04 +02:00
Maciej Małecki
5e4369da27
Remove empty file
2014-04-16 09:19:39 +02:00
Maciej Małecki
1900d74287
Mock pollRate instead
2014-04-15 19:24:36 +02:00
Maciej Małecki
34fb7e7daf
Add node-uuid to dev deps
2014-04-15 19:24:21 +02:00
Maciej Małecki
74b5c72b5d
Add a basic test for sending bitcoins
2014-04-15 16:26:20 +02:00
Maciej Małecki
230b31cdbe
Fix sendBitcoins
2014-04-15 16:26:09 +02:00
Maciej Małecki
36081c4109
Use new Trader API to send bitcoins
2014-04-15 15:07:46 +02:00
Maciej Małecki
1003629341
testkeys were moved to test/fixtures
2014-04-15 15:03:36 +02:00
Maciej Małecki
26ae44b2a7
Remove balance calculation for trading
...
Trading feature is not used in production, remove it for now.
2014-04-15 14:32:43 +02:00
Maciej Małecki
206b33ec38
Make fiat balance test use new Trader API
...
Leave out the trading part for now since nobody is using this feature in
production.
2014-04-15 12:08:39 +02:00
Maciej Małecki
06242fe78a
Add tests for exchange creation
2014-04-15 11:17:50 +02:00
Maciej Małecki
8ccf5bbf9e
Add a test for Trader API
2014-04-15 11:06:09 +02:00
Maciej Małecki
0666762051
Add a comment about rateRec and its friend
2014-04-15 10:47:32 +02:00
Maciej Małecki
b4199a3e1f
Fix server initialization message
2014-04-14 15:43:59 +02:00
Maciej Małecki
dd80eecdfb
Fix fiatBalance
2014-04-14 15:41:06 +02:00
Maciej Małecki
83a69f1c56
Fix fiatBalance call
2014-04-14 15:36:50 +02:00
Maciej Małecki
1f3c59dbc0
More refactoring on Trader
2014-04-14 15:16:53 +02:00
Maciej Małecki
05fef31fce
-x lib/app.js
2014-04-14 14:37:28 +02:00
Maciej Małecki
d6a0f17e80
Get started with Trade class
...
The reason for isolating the trader class is testability. It's hard to
properly test code with as much global state as files in `lib/api` had.
With a `Trader` class we can easily instantiate multiple objects, with
different configs, without the need for seeding the database with test
configs, effectively enabling us to do unit tests as well as integration
tests.
Besides that, this will allow easier reconfiguration, thanks to
`Trader#configure` method.
2014-04-14 13:06:48 +02:00
Maciej Małecki
b2d643cf1d
Do not re-assign
2014-04-12 13:55:03 +02:00