Commit Graph

8 Commits

Author SHA1 Message Date
William O'Beirne 15f960aec1
Blockchain watcher safety adjustments (#411)
* Fix a failed block potentially being skipped. Up retry sleep to 2 minutes, up number of failed requests to 10 to give blockchain more time to recover.

* Fix non-transaction vouts causing issues.

* Wrap whole scan function in try. Reduce retry time to 1 minute.
2019-03-28 11:35:45 -04:00
Will O'Beirne d4715695ad
Initial work on BitGo integration. Functions as expected. 2019-03-19 15:56:58 -04:00
William O'Beirne aff973182d Watcher zero fix (#383) 2019-03-14 22:37:37 -05:00
William O'Beirne 0e979dc77c Repeat bootstrap attempts (#380)
* Repeatedly attempt to bootstrap watcher until it happens.

* Get rid of first request bootstrap, watcher polls now.
2019-03-14 22:21:28 -05:00
Will O'Beirne ad26bb1fd7
Downgrade sentry to be more stable. 2019-02-25 14:27:06 -05:00
William O'Beirne 0e4626157f
Blockchain watcher bootstrap (#92)
* Initial work on bootstrap refactor. Still results in delayed bootstrapping and double bootstrapping.

* Remove logging.

* Fix invalid json in body on non-post requests. Reduce error verbosity.

* Adjust error output.
2019-01-21 12:51:49 -05:00
William O'Beirne 92ad6d3436
Better logging & add sentry to blockchain watcher (#93)
* Add sentry to blockchain watcher. Adjust frontend to allow for environment override.

* Replace all logging with winston. Fix sentry error reporting. Improve error logging for uncaught express errors.

* Remove dsn from .env.example
2019-01-18 19:34:11 -05:00
Will O'Beirne 00ee2888b4
Convert blockchain microservice to use webhooks instead of websocket. Confirm contributions via webhook. 2019-01-08 17:58:32 -05:00