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

client/core: enable reconfiguration restrictions / extension mode #2454

Merged
merged 2 commits into from
Aug 17, 2023

Conversation

buck54321
Copy link
Member

This creates an option to restrict GUI wallet reconfiguration options for wallets that are controlled by the caller, e.g. Decrediton. This prevents users from accidentally changing the wallet type, password, or specific configuration fields.

@buck54321
Copy link
Member Author

./dexc --simnet --extension-mode-file ../../core/example-extension-config.json

image

Copy link
Collaborator

@martonp martonp left a comment

Choose a reason for hiding this comment

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

Looks good. Does Decrediton automatically create an RPC wallet? I haven't tried it yet.

// should not be displayed to the user.
HiddenFields []string `json:"hiddenFields"`
// DisableWalletType indicates that we should not offer the user an
// an option to chznge the wallet type.
Copy link
Collaborator

Choose a reason for hiding this comment

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

chznge

@buck54321
Copy link
Member Author

Looks good. Does Decrediton automatically create an RPC wallet? I haven't tried it yet.

Whoops. I meant to respond to this.

From what I can tell, yes, Decrediton starts dcrwallet with the rpc server and then points dexc at it.

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.

3 participants