Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor config.js #2129

Merged
merged 4 commits into from
Jun 11, 2019
Merged

Refactor config.js #2129

merged 4 commits into from
Jun 11, 2019

Conversation

vctt94
Copy link
Member

@vctt94 vctt94 commented May 27, 2019

This PR starts #2121 and closes #2033

It starts refactoring our global config and I also added the ability to return to remote credentials after a fatal error when in advanced mode.

after #2121 we can now check the dcrd connection and if it is different from decrediton there is no need to close decrediton to fix the problem (in advanced mode)

I am not yet refactoring wallet configs

Copy link
Member

@matheusd matheusd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice refactor on moving the config to use constants. Only a couple of small typos.

app/components/views/FatalErrorPage.js Outdated Show resolved Hide resolved
app/config.js Outdated Show resolved Hide resolved
@vctt94
Copy link
Member Author

vctt94 commented Jun 4, 2019

fixed

@alexlyp alexlyp merged commit 1688833 into decred:master Jun 11, 2019
@vctt94 vctt94 deleted the refactorConfig branch June 11, 2019 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[refactor] Use consistent booleans in default config
3 participants