Commit graph

830 commits

Author SHA1 Message Date
Neal Conner
4108efd9c7 Fix BadNumberError code (#107)
lamassu-machine is expecting 401 for a bad number, but lamassu-server 
was returning 410 instead.
2018-03-08 10:26:44 +00:00
Josh Harvey
86dfca60c1 Add id-card compliance 2018-03-05 20:22:12 +00:00
Neal Conner
fbcb8b5ff2 Update BTC to 0.16.0, native SegWit (#104)
Adds native SegWit support on BTC.
2018-03-05 11:52:45 +00:00
Neal Conner
a8d6cddba9 Trade on EUR Bitstamp if fiat other than USD/EUR (#102)
* Trade on EUR Bitstamp if fiat other than USD/EUR

* Don't mutate fiatCode
2018-02-26 19:09:52 +02:00
Neal Conner
a2d168644f Add ETH & BCH to Bitstamp ticker, exchange (#100)
* Add ETH & BCH to Bitstamp ticker, exchange

* Add ETH & BCH to Bitstamp
2018-02-26 19:04:17 +02:00
Neal Conner
c9120fa961 Fix ETH peers and bump to 1.8.1 (#101)
* Fix ETH 'maxpeers'

* Update geth to 1.8.1
2018-02-26 19:03:15 +02:00
Neal Conner
c2248e13d7 ETH performance (#99)
* Update geth to 1.8.0

* Up cache and maxconnections
2018-02-16 18:55:33 +02:00
Neal Conner
bc66b7b843 Trade on USD Kraken if fiat is other than USD/EUR (#93)
* Trade on USD Kraken if fiat is other than USD/EUR

* Fix array membership logic

* Default to EUR
2018-02-16 18:15:28 +02:00
Josh Harvey
a42936ad0d Don't complain on all QueryResult errors 2018-02-09 15:26:50 +01:00
Josh Harvey
e22333b7af backport some missed changes in cash-in and cash-out 2018-02-02 00:45:52 +02:00
Neal Conner
3cb5ddb24d Update node wallet versions (#91)
* Update zcashd, geth, bitcoin-abc, dashd

This version of Bitcoin ABC includes CashAddr support (default)

* Update Zcash disable deprecation
2018-02-02 00:18:03 +02:00
Josh Harvey
118e4ec4be refactor cash-in and cash-out 2018-02-01 23:48:27 +02:00
Josh Harvey
8b267210c9 WIP 2018-01-31 14:40:57 +02:00
Josh Harvey
4625ffef0f lightning network support 2018-01-28 19:10:00 +02:00
Neal Conner
1a31b27845 Add BCH to Coinbase ticker 2018-01-26 17:18:07 +02:00
Neal Conner
6c8bfd773b Add BCH to Coinbase ticker 2018-01-26 17:18:07 +02:00
Josh Harvey
d7a5734818 improve handling of ratchet error 2018-01-25 20:15:22 +02:00
Josh Harvey
fc17d2cdf8 handle cash-out errors 2018-01-24 01:48:26 +02:00
Josh Harvey
fea630981d only send cash-out alerts when in cash-out mode 2018-01-06 14:23:33 +00:00
Josh Harvey
beb2a2136d add serials to machine logging 2018-01-03 13:01:02 +00:00
Josh Harvey
50979a6c54 add wallet balance poll debug 2018-01-01 12:00:22 +00:00
Josh Harvey
4214971cea improve memoize caching 2017-12-31 10:13:22 +01:00
Neal Conner
5757364d0f Fix bitpay.js 2017-12-20 13:16:44 +02:00
Neal Conner
e232a7713e Add BCH to bitpay.js 2017-12-20 13:16:44 +02:00
Neal Conner
d20104249f Add BitPay for BCH 2017-12-20 13:16:44 +02:00
Josh Harvey
4425b21b3d tweak log update 2017-12-18 03:08:32 +02:00
Josh Harvey
783b85ed72 give lamassu support 2 full days of logs; log sharing last for 1 week 2017-12-15 02:21:59 +02:00
Josh Harvey
7e8a79bea2 address node v8 tls defaults change 2017-12-13 16:31:07 +02:00
Josh Harvey
3e8e846d95 add lamassu-ca scripts 2017-12-13 16:31:07 +02:00
goga-m
39f9848ca1 Promisify admin-support 2017-12-13 16:31:07 +02:00
goga-m
e998e84cca Logs insert: on conflict do nothing 2017-12-13 16:31:07 +02:00
goga-m
d901a36f29 Add Lamassu support microsite 2017-12-13 16:31:07 +02:00
goga-m
4f9cc88a5e Provide machine name on logs snapshots batch 2017-12-13 16:31:07 +02:00
goga-m
62d606cc80 Create support_logs (db & api) 2017-12-13 16:31:07 +02:00
goga-m
b7d6f3f419 Map logLevel to info or error 2017-12-13 16:31:07 +02:00
goga-m
8ce22eca95 Create /logs/ api endpoint 2017-12-13 16:31:07 +02:00
goga-m
43f578d311 Add logs 2017-12-13 16:31:07 +02:00
goga-m
d127901992 Fix on camelize 2017-12-13 16:31:07 +02:00
goga-m
a731ec7a03 Add comments 2017-12-13 16:31:07 +02:00
goga-m
932be9e7db Provide Daily Volume in customer's api 2017-12-13 16:31:07 +02:00
goga-m
67dda25b20 Rename customer & compliance type fields 2017-12-13 16:31:07 +02:00
goga-m
b29c1f21e5 Provide all compliance types info (thresholds & status) 2017-12-13 16:31:07 +02:00
goga-m
168cc038a3 Provide all customer info in customers.get 2017-12-13 16:31:07 +02:00
goga-m
3dea1f4795 Fix customer's API 2017-12-13 16:31:07 +02:00
goga-m
c77bb53f8f Refactor customers API
* Use lodash camelize
* Modify enhanceOverrideFields (fp)
* Fix for sql timestamp
* Fetch all existing users at once in populateOverrideUsernames
* Modify populateOverrideUsernames (fp)
* Break format function into computeStatus, camelize
2017-12-13 16:31:07 +02:00
goga-m
e907f8a70a Embed populateOverrideUsernames into format function 2017-12-13 16:31:07 +02:00
goga-m
2abed2ed57 Always add *_by_name fields along with *_by fields 2017-12-13 16:31:07 +02:00
goga-m
84bc84e7c1 Customer detail page changes
* Refactor code regarding override fields
 * Add *_override_at columns in customer table (migration)
 * Add *_override_at, *_override_by computed fields
   when updating customer
 * Rename compliance types to match override fields (migration)
 * Remove cross_ref compliance_type (migrations)
 * Populate customer object with usernames for every
   filled *_override_by field (users API)
2017-12-13 16:31:07 +02:00
goga-m
409269d23d Customer's override update, to create a compliance_override db record 2017-12-13 16:31:07 +02:00
goga-m
89eb617a4a Add *override_by fields in customer 2017-12-13 16:31:07 +02:00