Commit Graph

9 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 f19bcf50cb
Switch to getrawtransaction for... reasons? 2019-03-20 14:52:47 -04:00
Will O'Beirne d4715695ad
Initial work on BitGo integration. Functions as expected. 2019-03-19 15:56:58 -04:00
AMStrix 1ae519e251 Address TODOs (#349)
* todos: simple ones, removals & modifications to NOTE

* rem-todo: reduced markdown images are removed by sanitizer

* be todo: add user validation to create

* be todo: improve test_invide_api tests

* be todo: remove todo comment

* fe todo: set error messages on reducers

* fe todo: upgrade and enable react-helmet

* todos - remove uneeded

* fe todos: remove unecessary

* be: fix remaining staking contribution calculation
2019-03-13 16:39:50 -05:00
Will O'Beirne 4779299fb3
Reduce payload size for bootstrap. Fix invalid response to bootstrap. Bootstrap height now starts at N - min confs. 2019-03-04 14:40:37 -05:00
William O'Beirne 08ed3e0417
Address validation (#156)
* Fix create step query

* Add basic regex validation for addresses to frontend.

* Check with zcash node if address is valid before final proposal submission.

* tsc

* Mock requests where needed. Come up with a function that mocks all blockchain requests.

* Remove print
2019-02-05 15:26:37 -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
William O'Beirne 784e5d6fa2 Blockchain watcher microservice (#28) 2018-12-28 17:24:46 -06:00