Commit graph

78 commits

Author SHA1 Message Date
Josh Harvey
bcf565e158 Better handling of fingerprint 2014-07-18 17:22:59 -04:00
Josh Harvey
e29290646e updated to new ticker api; fixed fiatBalance for trade exchange with different currency 2014-05-06 22:49:45 -04:00
Josh Harvey
be04d1d75c added bitcoind support; cleaned up 2014-05-04 20:55:04 -04:00
Josh Harvey
9ac399ea3b Merge branch 'master' into merge-master 2014-05-03 17:03:55 -04:00
Josh Harvey
bd96bb3caf Merge branch 'production' into merge-logging 2014-05-03 16:28:25 -04:00
Josh Harvey
72e7c8addc return json on all server errors 2014-05-03 16:26:32 -04:00
Josh Harvey
6efd595851 fixed unpaired connection bug 2014-05-02 11:18:41 -04:00
Josh Harvey
d2cb7e8a07 WIP 2014-05-02 10:25:39 -04:00
Josh Harvey
66f12bcdd8 allow configuring log level 2014-05-01 11:58:39 -04:00
Maciej Małecki
5d7f4fbc7b Remove special case for exchange require 2014-04-28 15:09:10 +02:00
Maciej Małecki
cf19be3693 Remove the old custom ticker 2014-04-28 15:07:57 +02:00
Josh Harvey
b5b63fc8ea changed back to info level logging 2014-04-27 23:39:41 -04:00
Josh Harvey
1e65c65670 changed noisy logging to debug 2014-04-27 23:38:19 -04:00
Josh Harvey
9a4550ba23 took out unused code 2014-04-27 19:34:30 -04:00
Josh Harvey
709b472ecc actually, just take out request logging and demote other noisy stuff to debug 2014-04-27 11:46:32 -04:00
Josh Harvey
22fb9daaa8 suppressed poll logging 2014-04-27 11:33:10 -04:00
Josh Harvey
74e8b6ed50 suppressed poll logging 2014-04-27 11:31:34 -04:00
Josh Harvey
ae82b5ad26 fixed balance polling bug 2014-04-27 11:27:58 -04:00
Josh Harvey
30084617c3 fixed out of bitcoins; cleanup 2014-04-26 23:13:58 -04:00
Josh Harvey
96f480a73c recalculate fiatBalance as balance at start of session 2014-04-26 17:51:34 -04:00
Maciej Małecki
432e13c7d9 XXX -> TODO 2014-04-26 17:24:36 +02:00
Maciej Małecki
2398bf2aea Fix purchase argument 2014-04-26 17:18:41 +02:00
Maciej Małecki
046a680043 Trader#rate is synchronous 2014-04-26 16:59:01 +02:00
Maciej Małecki
afef106859 Remove legacy trading 2014-04-25 16:34:51 +02:00
Maciej Małecki
97deac7f20 Add everything back for trading 2014-04-25 16:34:24 +02:00
Josh Harvey
5b4b5359eb poll immediately after config change 2014-04-25 00:25:01 -04:00
Josh Harvey
f00dda92fc load locale from config 2014-04-25 00:24:47 -04:00
Josh Harvey
54ce45e4e7 fixed up for general use 2014-04-24 17:41:22 -04:00
Josh Harvey
da88243db0 WIP 2014-04-24 12:37:33 -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
6ed979b1af simplified unpairing 2014-04-20 12:07:48 +03:00
Josh Harvey
b5400cd559 assign to _lamassuConfig 2014-04-18 17:46:05 +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
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
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
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