Commit graph

722 commits

Author SHA1 Message Date
pedromiguelmiranda
7a07412a70 Identify machine name on logging upon clock skew error (#188) 2018-10-13 17:12:12 +02:00
Zoran Joka
85295ea62c Ensure etags.json can update when empty (#182)
* Ensure etags.json can update when empty

* Update and load etags on settings change

* Handle exception in catch block
2018-10-10 10:55:11 +02:00
Rafael Taranto
5ee7e40872 Add operator id on CoinATMRadar request (#184)
* Add operator id on CoinATMRadar request

* Update coinatmradar.js
2018-10-08 19:11:28 +02:00
Neal Conner
2fd4cd50c5 Prune Dash (#183) 2018-10-06 13:46:41 +02:00
Rafael Taranto
3b14a715b4 Replace mailjet with mailgun (#180) 2018-10-04 21:40:50 +03:00
pedromiguelmiranda
6a2e3bc348 Drop Geth installation upon coins installation (#181)
* drop geth installation

* code refactoring
2018-10-04 21:37:08 +03:00
pedromiguelmiranda
50e78078e3 7.3 crafty chhnemu | https://trello.com/c/3fMfHclE (#179)
* Added default ETH(infura)

* Code changes regarding review on PR 179 (https://github.com/lamassu/lamassu-server/pull/179)

*  Code changes regarding review on PR 179 (#179)
2018-10-03 17:11:19 +03:00
Rafael Taranto
bcf336741e Add QuadrigaCX exchange and ticker (#176)
* Add QuadrigaCX exchange and ticker

* Clean up code from QuadrigaCX
2018-09-27 21:59:53 +03:00
Fabio Cigliano
147db125dd reworking l-s startup (#175)
* reworking l-s startup

it was failing to retry when starting with an invalid configuration

* changed startup routine

* start supervisor after update
2018-09-27 13:49:11 +03:00
Rafael Taranto
de4a675a43 Fixed bitstamp coin scaling (#167)
The coin scaling for the bistamp excahnge was using a satoshi scaling for ETH when it should have been using wei.
2018-09-22 23:38:31 +01:00
Rafael Taranto
38aa006ecc Add device_id to cash_out_actions table (#164)
If a costumer originates a cashOut transaction at one device, and then
redeemed at a different device, the wrong machine would have bills debited from it.

With device_id being saved at the cash_out_actions table the bills can
be properly reconciled.
2018-09-22 23:38:31 +01:00
Rafael Taranto
1a8ef31d39 Add db error consts file (#165)
* Add db error consts file

* Fixed typo in comment
2018-09-22 23:38:31 +01:00
Rafael Taranto
f43149dca7 Improve serialization error handling on cash_out (#163)
Made API calls return 204 on serialization error.

When network is unreliable there is a high chance of generating a
serialization exception. By returnig 204 on them the lamassu-machine can
just continue working as if nothing happened.
2018-09-22 23:38:31 +01:00
Rafael Taranto
4e287d1ecb Improve cash out monitor transaction handling (#159)
Made the queries from 'monitorLiveIncoming' and 'monitorStaleIncoming'
return mutually exclusive records from the db.

Both this methods are polled and perform the same actions on the
records. As a result, transaction erros were prone to happen.
2018-09-22 23:36:02 +01:00
Fabio Cigliano
fe72eb8e7f show id card photo image on customer page (#155) 2018-09-22 23:36:02 +01:00
Fabio Cigliano
c559a998aa minor fixes 2018-09-22 23:36:02 +01:00
Fabio Cigliano
afc78d512e handle idCardPhoto image upload 2018-09-22 23:36:02 +01:00
Fabio Cigliano
9fc79f1bb4 OFAC flow fix (#137)
* 7.0.1

* OFAC flow fix
2018-09-22 23:36:02 +01:00
Fabio Cigliano
f32acdfe6c layer2 default fix (#156)
* layer2 default fix

* Don't log error message

Would pollute log too much.
2018-09-22 18:57:38 +01:00
Neal Conner
b170d35548 Patch bitcoind-inhereted network vulnerability (#168)
Updates BTC, BCH, LTC, DASH for vulnerability.

Updates ETH to latest.
2018-09-22 18:56:10 +01:00
Fabio Cigliano
9b7972017d changes cherry picked from dev to stable (#169)
* lamassu-update to update crontab

* lamassu update and install script to point to #stable branch

* lamassu update and install script to point to #stable branch

* removing outdated & unused script

* crontab update fix + npm rebuild path fix
2018-09-22 18:45:38 +01:00
Fabio Cigliano
f90357804a Dispense error status code fix (#142)
* 7.0.1

* add cash_out_txs.error_code to updateable fields
2018-08-24 17:30:25 +03:00
Neal Conner
dfb64b8e6b Wallet version updates (#152)
* Update ZEC, ETH, BTC, DASH

* Remove ZEC disabledeprecate

-disabledeprecate flag was removed in zcashd v1.1.2

* Update BCH

Compatible with November hard fork
2018-08-24 17:30:25 +03:00
Fabio Cigliano
6fdb3e8834 config-validator to consider default values from schema (#139)
* config-validator to consider default values from schema

* fix with relative json schema path

* remove lamassuServerPath config on lamassu-migrate-options
2018-08-24 17:30:25 +03:00
Josh Harvey
d28c6ae691 upgrade to infura v3 2018-08-10 17:33:26 +03:00
Josh Harvey
fe45967274 fix support log bug 2018-07-17 18:02:42 +03:00
Josh Harvey
dcef083d49 fix json-rpc issue 2018-07-16 17:00:09 +03:00
Josh Harvey
ac89f0e5e9 add Infura wallet support 2018-07-10 17:09:18 +03:00
Josh Harvey
05e7889dc0 remove strike and lnd options 2018-07-10 16:10:36 +03:00
Neal Conner
464d116073 Show last 1000 transactions (#135) 2018-07-04 09:18:22 +01:00
Neal Conner
2265885356 Update ETH and BTC versions (#134) 2018-07-04 09:17:28 +01:00
Fabio Cigliano
f4301328c4 compliance router fix (#132) 2018-07-02 16:46:55 +01:00
Fabio Cigliano
1bcf586544 json-rpc parameter bugfix (#129)
* json-rpc parameter bugfix

* small change

* Update json-rpc.js
2018-07-01 15:43:58 +01:00
Fabio Cigliano
dd7e447e73 Sms integration fix (#130)
* Twilio integration error handling improvement

* Mock-sms error triggering added
2018-06-19 11:42:51 +01:00
Josh Harvey
9d6f3e6d9b reduce stale tx period to 1 day 2018-06-17 11:48:53 +01:00
Neal Conner
1b33ef9aa7 Add 'caution' warning to mock wallet (#127) 2018-06-16 13:56:12 +03:00
Fabio Cigliano
82726fd9c1 json-rpc error handling (#128)
* json-rpc error handling

* partial revert
2018-06-16 13:55:58 +03:00
Fabio Cigliano
c3535e6ed3 Lamassu update script changes (#126)
* lamassu-migrate-config script added + lamassu-default.json

* lamassu update script changes

* lamassu-update unit test added
2018-06-16 13:55:42 +03:00
Fabio Cigliano
63e0782e32 Expired transaction after bugfix (#121)
* other minor fixes

* reedemable transaction expiry fix
2018-06-12 16:15:58 +03:00
Fabio Cigliano
25030fab2a Strike bugfix (#122) 2018-06-12 16:11:53 +03:00
Josh Harvey
6a8dfe90cf only update sanctionsdb if enabled 2018-06-06 10:20:00 +03:00
Fabio Cigliano
0e3c0961ea phone_code API bugfix (#120) 2018-06-06 10:06:28 +03:00
Neal Conner
ebbeff4211 Update ZEC, BCH, ETH, LTC wallets (#119)
* Update ZEC & ETH wallet versions

* Update ZEC disabledeprecation

* Geth 1.8.10

* Litecoin 0.16.0

Litecoin SegWit addresses now default

* Bitcoin ABC 0.17.2
2018-06-05 22:50:57 +03:00
Fabio Cigliano
a30b835786 Terms and conditions screen (#118)
* Terms and Conditions screen added

* missing fields

* SQL migration added

* terms.text: markdown to html on server side

* markdown field type added

* other minor changes
2018-06-05 22:35:30 +03:00
Josh Harvey
d1712ce1ce Add layer2 address separately 2018-06-04 16:34:46 +03:00
Josh Harvey
737eacc0ec fill in additional null fields for coinatmradar 2018-05-29 22:49:36 +02:00
Josh Harvey
3f9c139f83 Support Strike for Lightning Network 2018-05-27 12:47:57 +03:00
Josh Harvey
6c3099921f support for Coin ATM Radar 2018-05-21 16:30:13 +03:00
Josh Harvey
4f7efc1177 use mainnet for lightning 2018-05-20 15:46:40 +03:00
Josh Harvey
5d9533b7b4 display logs with latest first 2018-05-18 18:19:19 +03:00