Commit graph

9 commits

Author SHA1 Message Date
Cesar
196a05549f Feat: save cash balance notifications in DB
Feat: add "detail" row in notifications table migration

This makes searching for specific notifications in the
code like cashbox number easier because we don't need
to scrub the notification message column anymore to search
for notifications relating the cashbox 1 for example.

Feat: clear notifications on cash cassette balance update
2021-02-04 15:48:23 +00:00
Taranto
47e5e95332 fix: prevent trading on tx rollback 2020-03-20 15:53:29 +01:00
Josh Harvey
e7ef9d0753 Merge in release and fix conflicts 2019-03-03 13:06:55 +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
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
Josh Harvey
d1712ce1ce Add layer2 address separately 2018-06-04 16:34:46 +03:00
Josh Harvey
c2af183911 format for latest standard 2018-03-10 18:59:40 +00:00
Josh Harvey
e22333b7af backport some missed changes in cash-in and cash-out 2018-02-02 00:45:52 +02:00
Josh Harvey
118e4ec4be refactor cash-in and cash-out 2018-02-01 23:48:27 +02:00