Skip to content

Conversation

@elichai
Copy link
Contributor

@elichai elichai commented Oct 5, 2016

New function to unlock the wallet from the code.
Should be used with getpass library

bitcoin/rpc.py Outdated

def unlockwallet(self, password, timeout=60):
"""Stores the wallet decryption key in memory for 'timeout' seconds.
Should be used with `getpass` library
Copy link
Owner

Choose a reason for hiding this comment

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

Why should this be used with getpass specifically?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So it won't echo the password into the terminal.

Copy link
Owner

Choose a reason for hiding this comment

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

Eh, I don't think we should put that in the comment - people can use all kinds of things to get the password from the user.

Otherwise the patch looks good; just remove that bit.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll reopen a new pull request

@elichai
Copy link
Contributor Author

elichai commented Oct 8, 2016

Opened new pull request
#122

@elichai elichai closed this Oct 8, 2016
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.

2 participants