Commit graph

1235 commits

Author SHA1 Message Date
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
Josh Harvey
8e1f9e0b83 Merge pull request #223 from RafaelTaranto/bitgo-api-v2
Bitgo api v2
2018-12-10 00:39:45 +02:00
Rafael Taranto
d253c4fa00 Dev script to recreate seeds file from mnemonic 2018-12-03 17:34:04 +02:00
Rafael Taranto
f674f64f58 Use spendable amount for balance 2018-12-03 13:18:58 -02:00
Fabio Cigliano
cdfc84a96a migrate-options unit test added 2018-11-28 22:24:48 +02:00
Davit Abulashvili
907cd08cf1 Log unsuccessful trade attempts in the db (#224)
* Save trade error in table trades

* Add one migration, Add error column to trades table

* changes in plugins.js file

* Apply standardjs to plugins.js file
2018-11-28 20:24:48 +02:00
Fabio Cigliano
dc1ed52357 lamassu-migrate-config to update ls basepath (#216)
* lamassu-migrate-config to update ls basepath

* documentation added

* constrain to a particular set of options
2018-11-22 17:04:41 +01:00
Rafael Taranto
fa652b8e74 Fix standard styling issues 2018-11-21 11:37:26 -02:00
Rafael Taranto
01153d0562 Migrate bitgo api to v2 2018-11-21 11:36:02 -02:00
Zoran Joka
13040f41a1 Optimize machine pings query (#222)
* refactor recordPing method

* optimize queries

* migrate machine_pings

remove id, serial_number
add primary key on device_id
add unique constraint on device_id

* remove filelds from query, rename migration, delete duplicate migration

* truncate machine_pings in migration
2018-11-21 11:08:19 +01:00
Rafael Taranto
0ec647f2b2 Pin node version to 8 2018-11-21 10:27:54 +01:00
Davit Abulashvili
e7bb29341d Move lamassu-install files to this repo's lamassu-remote-install folder. (#214)
* copy lamassu-install files

* Mention lamassu-install files in README.md

* Mention lamassu-install files in README.md
* Little change in lamassu-install files README.md

* Fix raw file link error

* install script accept branch name as argument

* install script accept branch name as argument
* Remove test.js file
2018-11-19 14:23:25 +01:00
Josh Harvey
860c2e0476 Update README.md 2018-11-18 10:28:52 +01:00
Josh Harvey
246f99b87e Add lamassu-update-to-mnemonic to bin section 2018-11-18 10:24:06 +01:00
Rafael Taranto
fad819b7e5 Fix openssl version 2018-11-18 10:16:59 +01:00
Rafael Taranto
06f8c57608 Save migrations file on db (#215)
* Revert "Migration sql changes (#199)"

This reverts commit 12c834469c.

* Save migrate file on db

* Add message on migration error in lamassu-update
2018-11-18 10:15:22 +01:00
Davit Abulashvili
9af204e609 cert-gen script echo specific message and exit on each openssl operation fail (#712) 2018-11-17 22:48:07 +01:00