Commit graph

1251 commits

Author SHA1 Message Date
Neal Conner
a638524249 Update common.js 2019-04-30 18:45:51 +02:00
Rafael Taranto
8b1480589f Add new unseen tx screen 2019-04-18 14:26:12 +03:00
Rafael Taranto
9a43bc4417 Static serve the image folder even when empty 2019-04-17 19:26:59 +03:00
Rafael Taranto
d3478fb2ba Fix fee fetching issues 2019-04-17 19:24:08 +03:00
Brandon Cryderman
0088ba7068 Add lamassu-revoke and lamassu-users (#270)
* lamassu-list-users

Lists registered users to the admin panel

* Add in unregister function to revoke token access

* Create lamassu-revoke

* Changed name to lamassu-users

* Update login.js

* Update login.js

* Add lamassu-users & lamassu revoke to package.json

* Re-add missing comma.
2019-04-17 18:51:45 +03:00
Rafael Taranto
71ed3b83dd Send legacy address for BCH on bitgo api 2019-04-17 15:32:02 +03:00
Neal Conner
1773c0ca2a Use non-symlinked hkdf bin
In the event hkdf is in /usr/local/bin, as it was in one case.
2019-04-17 15:23:20 +03:00
Neal Conner
10aa803320 Update lamassu-coinatmradar
Output 32-character operator ID
2019-04-17 15:23:20 +03:00
Rafael Taranto
8593918f3f Fetch time till hardLimit clears (#265)
* Fetch time till hardLimit clears

* Default to zero in case of negative numbers
2019-03-31 16:56:13 +02:00
Neal Conner
d2f36b8019 Use 64 characters with lamassu-coinatmradar 2019-03-29 17:37:22 +01:00
Neal Conner
c1bb84652a Add details on mnemonic usage 2019-03-25 17:06:39 +01:00
Neal Conner
3b05689dc6 Add idPhotoCardDir upon install 2019-03-22 18:34:34 +01:00
Rafael Taranto
9ec1a3cb0d Fix nullcheck for cashOutCommission === 0 2019-03-14 17:02:03 +00:00
Rafael Taranto
f7e9630710 lamassu-install and lamassu-update bugfixes (#261)
* Call bip39 after lamassu-server gets installed

* Fix bash variable declaration

* Remove mnemonic path from migrate defaults

This caused the update-to-mnemonic script to skip thinking the mnemonic
already existed
2019-03-14 11:09:47 +00:00
littlenaut
eb69b2b5c8 Remove unused 'createWallet' HTTP method 2019-03-11 11:46:19 +00:00
littlenaut
9fa113dc01 Remove wallet creation HTTP method
This functionality is now completely implemented at client-side (machine).
2019-03-11 11:46:19 +00:00
littlenaut
1cd06a024c Add 'cash_in_txs' migration
This migration adds a new column to the 'cash_in_txs' table to
accommodate the new paper wallet feature for compliance.
2019-03-11 11:46:19 +00:00
littlenaut
7761815b07 Remove temporary logging code 2019-03-11 11:46:19 +00:00
littlenaut
9fd204db9e Allow domain selection when generating certificates 2019-03-11 11:46:19 +00:00
littlenaut
bbd76ba851 Add HTTP method to create a new wallet on request 2019-03-11 11:46:19 +00:00
Rafael Taranto
03288c4f5e Fix lamassu-update-to-mnemonic --prod 2019-03-07 10:48:56 +00:00
Rafael Taranto
78449f19fb Get install script up to date with lamassu-install 2019-03-07 10:24:14 +00:00
Rafael Taranto
61ad8a9eba Fix deprecated api call on bitgo api (#255)
* Fix deprecated api call on bitgo api

* Change filterUnconfirmed to filterPending
2019-03-07 10:03:48 +00:00
Rafael Taranto
8af67cf030 Change backup folder on updates 2019-03-06 12:00:30 +01:00
Neal Conner
afaf98f93e Fix lamassu-update-to-mnemonic during update 2019-03-06 11:28:48 +01:00
Rafael Taranto
3dd7503e45 Fix ratchet errors on commission and ticker 2019-03-05 17:59:10 +01:00
Rafael Taranto
fe72b4fcaf Add fallback for null commissions 2019-03-05 17:59:10 +01:00
Neal Conner
760d765520 merge in latest release 2019-03-04 18:49:27 +01:00
Josh Harvey
e7ef9d0753 Merge in release and fix conflicts 2019-03-03 13:06:55 +01:00
Neal Conner
ca59c7a6c5 Add Dash to BitGo wallet, remove Quadriga (#251)
* Add Dash to BitGo, remove Quadriga

* Update bitgo.js

* Update bitgo.json
2019-03-02 14:44:47 +01:00
Rafael Taranto
9f3457f14d Use commission rate from machine instead of server 2019-03-02 14:40:29 +01:00
Fabio Cigliano
578a39a721 log raw ticker price within tx 2019-03-02 14:40:29 +01:00
Fabio Cigliano
5815a606f2 rewoking getCommissionPercentage function 2019-03-02 14:40:29 +01:00
Fabio Cigliano
03279c8d2c tx.commission_percentage added 2019-03-02 14:40:29 +01:00
Fabio Cigliano
038a22aba7 migration added 2019-03-02 14:40:29 +01:00
Rafael Taranto
d345cc018c Add contact card to admin 2019-03-02 14:32:58 +01:00
Neal Conner
4a95c7f91b Update BCH for May 2019 upgrade 2019-03-02 14:29:46 +01:00
Neal Conner
f02e34ca9c Update ZEC, BCH, ETH node versions 2019-03-02 14:29:46 +01:00
Rafael Taranto
9364eb5132 Fix cash-out exchange behavior for 'rejected' tx
A TX on the 'rejected' state should still be watched for authorization.

This fixes the bug where delayed cash-out confirmations would not
trigger a exchange sell command.
2019-03-02 14:28:27 +01:00
Neal Conner
df13f2ed90 Fix lamassu-ofac-update-sources during update
Otherwise:
```
bash: line 59: /bin/lamassu-ofac-update-sources: No such file or directory
```
2019-01-21 15:42:47 +01:00
Davit Abulashvili
163473a7ee Log miner fee (#237)
* Get miner fee written in some wallet plugins

* Return txid and fee for geth. possible problem with txid (zero hash on pending transaction)

* bitgo fee return

* Wallet apis fees save in cryptoAtoms
2019-01-04 16:34:50 +00:00
Davit Abulashvili
fa69956963 Add device names to sms alerts (#233)
* Add device names to sms alerts

* Write machine name on each alert

* Fixed alertSubject function (do not display machine name if null)

* Group machineNames by alertType

* Code review fixes. Filter empty machine names

* Use lodash complement instead of negate

* Revert "Use lodash complement instead of negate"

This reverts commit 385801624e432f03211867729281d7328493c30a.
2019-01-04 16:21:57 +00:00
Neal Conner
07626cf505 Add lamassu-ofac-update-sources 2019-01-03 16:44:45 +01:00
Josh Harvey
5c74e8d17c Merge pull request #241 from RafaelTaranto/merge-release-into-dev
Merge release into dev
2018-12-30 15:57:16 +01:00
Rafael Taranto
e59ec4ed28 Add ZEC, BCH, and LTC to BitGO wallet plugin (#240)
* Add ZEC, BCH and LTC to BitGO wallet plugin

* Convert to legacyAddress on bitgo plugin
2018-12-30 15:48:40 +01:00
Rafael Taranto
7043a3c408 Retry downloading OFAC lists (#236)
* Retry downloading OFAC lists

* Update ofac sources on lamassu-update
2018-12-30 14:47:09 +01:00
Rafael Taranto
b885e5698c Merge branch 'release' into merge-release-into-dev 2018-12-27 15:01:10 -03:00
Davit Abulashvili
b254f7f2be Support itbit exchange/ticker. Additions (#232)
* Initial itBit implementation

* Add tests for calculatePrice in exchange/itbit.js

* Add etherium to supported crypto codes in common/itbit.js

* Apply standardjs to itbit files

* itbit trade test. not important

* test getCurrencyRates in ticker/itbit.js
2018-12-11 11:47:34 +02:00
Neal Conner
b9f9c6facc Caution against mock-ticker use 2018-12-10 11:19:14 +02:00
Neal Conner
16a4239b86 Update ZEC, BCH, ETH node versions 2018-12-10 11:18:24 +02:00