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
Rafael Taranto
71ed3b83dd
Send legacy address for BCH on bitgo api
2019-04-17 15:32:02 +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
Rafael Taranto
9ec1a3cb0d
Fix nullcheck for cashOutCommission === 0
2019-03-14 17:02:03 +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
7761815b07
Remove temporary logging code
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
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
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
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
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
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
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
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
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
Rafael Taranto
eb033a4174
Increase time to consider machine stuck ( #211 )
...
* Increase time to consider machine stuck
* Fix standard styling issues
2018-11-15 14:20:26 +01:00
Zoran Joka
599c865f37
Filter only mock options when in dev mode ( #206 )
...
* Filter only mock options when in dev mode
* Filter only in production mode
* Refactor filter to separate function, add unit tests
* Check for mock codes in test
2018-11-08 09:24:09 +01:00
Rafael Taranto
d97a33565f
Change seed file with a bip39 mnemonic ( #207 )
...
* Change seed file with a bip39 mnemonic
* Create helper for bip39 mnemonic
* Prod mode on lamassu-update-to-mnemonic script
* Fix standard styling issues
2018-11-07 18:28:40 +01:00
Rafael Taranto
809bf5a2a9
Add sms/email notifications on transactions ( #198 )
...
* Add sms/email notifications on transactions
* Add configuration for transaction notification
* Add notification on provision address error
* Remove unneeded noop from promises
2018-11-06 13:49:12 +01:00
Zoran Joka
272127518d
Update last_online device field on each machine ping ( #203 )
...
* update last_online device field on each machine ping
* change var name to camel-case
* Use pgp name parameters instead of interpolation
2018-11-04 19:14:27 +01:00
Rafael Taranto
65e2bf6a63
Change HKDF return type from string to arrayBuffer ( #204 )
2018-11-02 21:29:55 +02:00
Rafael Taranto
bd75194526
Fix exception on clock skew ( #202 )
...
* Fix exception on clock skew
* Return device name instead of db object
2018-11-01 23:07:47 +02:00
Rafael Taranto
65ce8aee3d
Fix logger clutter message ( #201 )
...
* Fix logger message handling
* Fix standard styling issues
2018-10-31 17:25:59 +02:00
Rafael Taranto
de8a380bd8
Remove clutter from logger ( #196 )
...
* Remove clutter from the logger
Prior to this commit the logger was stringfying even functions.
Because of this response errors from axios was dumping a log of info on
the logs.
* Fixing standard style issues
* Check for toString on meta
2018-10-30 08:48:16 +02:00
Rafael Taranto
b47af59a7f
Improve transaction errors ( #194 )
...
* Improve transaction errors
* Fix standard styling errors
2018-10-27 15:22:36 +03:00