Commit Graph

29 Commits

Author SHA1 Message Date
Daniel Ternyak 1280349931
revert blockchain dep changes 2019-08-22 10:19:16 -05:00
Daniel Ternyak e1692c8d76
remove tests that are impossible to pass due to dependency issue 2019-08-21 18:18:45 -05:00
Daniel Ternyak 2683b85e87
update versions 2019-08-21 18:03:15 -05:00
Daniel Ternyak d84bf24d0c
fix blockchain 2019-08-21 17:59:11 -05:00
Daniel Ternyak 36d10789cd
more dep updates 2019-08-21 17:45:18 -05:00
Daniel Ternyak 0ba477847a
Dependencies Update (#469)
* Update dependencies across all modules

* bump only minor point on axios for /blockchain
2019-08-21 15:36:37 -05:00
Daniel Ternyak 36c150afcd
Proposal milestone date validation 2019-07-24 13:29:11 -05:00
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 2641dd0aae
Fix types 2019-03-19 16:26:43 -04:00
Will O'Beirne f2d934a4db
Add config for fixie static ip proxy. 2019-03-19 16:24:25 -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
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
William O'Beirne 3050caf329 Sentry fixes (#345)
* Upgrade sentry sdk, replace all prints with flask logging.

* Upgrade node sentry to fix circular json error.

* Update frontend sentry versions to maintain parity and nab any fixes.
2019-03-13 14:40:29 -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
Will O'Beirne ad26bb1fd7
Downgrade sentry to be more stable. 2019-02-25 14:27:06 -05:00
William O'Beirne 8bf7013b0f
Cancel proposal (#253)
* Backend setup for proposal canceling.

* Cancelable in admin, update all states to properly reflect a canceled proposal.

* Replace REFUNDING stage with CANCELED and FAILED to distinguish between the 2

* Fix pending contributions showing up as needing refunds.

* Fix some refund cases.

* Dont show failed & canceled proposals on list view. Hide their filters.

* Show when proposal was canceled.

* Remove edit action, make cancel an explanation to contact support.

* Fix PR comments

* Fix issues from develop merge.
2019-02-23 16:38:06 -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
AMStrix f8f3bd1707 Proposal staking (#134)
* BE: proposal/<id>/stake end-point basics

* BE: proposal staking tests

* add STAKING to ProposalStatusEnum

* BE: incremental staking related changes

* admin: staking status

* FE: proposal staking first pass

* ZCash -> Zcash spelling

* staking contribution confirmed email

* FE: staking related minor style changes

* FE proposal staking env var

* notify user of partially staked proposal contributions
2019-01-31 17:56:16 -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
AMStrix 9829f3f1ea Blockchain default and required environment variables (#91)
* blockchain: default & required env vars

* blockchain: ignore env var check for NODE_ENV=test
2019-01-18 01:24:03 -05:00
William O'Beirne bd17bf2a9a Switch env var to PORT for heroku compatibility. (#57) 2019-01-10 14:27:11 -06:00
William O'Beirne 82a7033c45 Productionify blockchain microservice (#56) 2019-01-10 14:18:31 -06: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
Will O'Beirne c444e5152d
Hook up blockchain to backend, backend to frontend for contributions. 2019-01-07 01:58:33 -05:00
William O'Beirne 784e5d6fa2 Blockchain watcher microservice (#28) 2018-12-28 17:24:46 -06:00