Commit graph

1170 commits

Author SHA1 Message Date
Rafael Taranto
3cffbedd9a Increase ticker memoized interval (#195)
* Increased ticker memoized interval

* Fix standard styling issues
2018-10-27 01:30:33 +03:00
Fabio Cigliano
771eded655 lamassu-update to update from #dev (#193) 2018-10-23 10:02:34 +03:00
Josh Harvey
3c37898046 update to 7.1.1 2018-10-21 13:32:06 +03:00
pedromiguelmiranda
4e3ed57cf8 Fix coinATMRadar behaviour when null cash out value is received (#187)
* Fix behaviour when null cash out value is received

* refactor: use loadash invoke method
2018-10-15 22:51:54 +03:00
Neal Conner
2e6157e97b Expand customer results (#186) 2018-10-13 17:17:56 +02:00
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
f4fc9d6328 Add lamassu-admin-elm to this repo (#185) 2018-10-08 21:29:06 +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
Josh Harvey
097de6dc97 update from master branch, not stable branch 2018-10-06 13:20:33 +02:00
Josh Harvey
cdcdc4c2d2 7.1.1 2018-10-06 11:49:43 +02:00
pedromiguelmiranda
fa028356a7 Drop Geth installation upon coins installation (#181)
* drop geth installation

* code refactoring
2018-10-06 11:46:42 +02:00
pedromiguelmiranda
489d5ffc6a 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-06 11:46:33 +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
Fabio Cigliano
87a4e87a0b 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-10-03 21:34:44 +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
Neal Conner
256538a0e2 Disable motd scripts (#177)
* Disable motd scripts

* Fix typo
2018-10-01 21:09:03 +03:00
Neal Conner
52309c53a4 Disable motd scripts (#177)
* Disable motd scripts

* Fix typo
2018-10-01 18:35:32 +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
ef84e2a2ed fix outdated symlinks after update from v5 (#171) 2018-09-27 20:08:35 +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
Fabio Cigliano
39b7070ffe lamassu-update minor fix (#174)
* lamassu-update minor fix

reset the terminal when linking/unlinking new exes

* moved hash -r
2018-09-26 17:36:30 +03:00
Fabio Cigliano
7eb8052b82 lamassu-update minor fix (#174)
* lamassu-update minor fix

reset the terminal when linking/unlinking new exes

* moved hash -r
2018-09-26 17:32:30 +03:00
Fabio Cigliano
6a658c4d36 elm changes on config screen (#173)
* elm changes on config screen

* elm changes on config screen
2018-09-25 18:59:11 +01:00
Neal Conner
088f8167ce Change Infura credential fieldType (#172)
API key and endpoint are less sensistive, and leaving these two displayed would allow accidental typos (such extraneous spaces) to be caught.
2018-09-24 00:16:47 +01:00
Fabio Cigliano
1713aeeab8 fix outdated symlinks after update from v5 (#171) 2018-09-23 10:05:31 +01: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
Fabio Cigliano
7c4c314df4 crontab update fix + npm rebuild path fix (#166) 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
Fabio Cigliano
46d73fadf9 lamassu-update crontab path fix (#162) 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
Rafael Taranto
347a313f40 Update INSTALL.md (#158)
Specifying Node, NPM and OpenSSL versions.
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
Josh Harvey
f87d896149 update docs 2018-09-22 23:36:02 +01:00
Josh Harvey
0f0c070781 update docs 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
49f8b66de0 rename old l-s module to lamassu-server-old (#170) 2018-09-22 18:58:13 +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
Josh Harvey
8bf449bdc4 add validate-config script 2018-09-22 18:53: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
Josh Harvey
59cb5da61c 7.1.0 2018-08-24 17:33:47 +03: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