diff options
| author | Gregory Maxwell <[email protected]> | 2013-08-15 21:53:21 -0700 |
|---|---|---|
| committer | Gregory Maxwell <[email protected]> | 2013-08-23 12:01:57 -0700 |
| commit | 20469d83dd2fd7d8efacf94f017b926be7c92e63 (patch) | |
| tree | 8720b5fe9d1ae1ea9c2b67886e37bc9c7cd9f166 /src/init.cpp | |
| parent | Merge pull request #2872 from Diapolo/GUI_wallet (diff) | |
| download | discoin-20469d83dd2fd7d8efacf94f017b926be7c92e63.tar.xz discoin-20469d83dd2fd7d8efacf94f017b926be7c92e63.zip | |
[QT] Don't ask for a passphrase to getnewaddress.
With an encrypted wallet the GUI was prompting for a passphrase every time
the user requested a new address. This is unnecessary, increases the
exposure to keyboard sniffers, and discourages using fresh addresses for
every transaction.
Instead only prompt for a passphrase when the keypool runs out, also call
the new address function with the flag that prevents reuse.
Thanks to AlexNagy on IRC for pointing this out and who wouldn't take any
lip from a curmudgeonly developer and insisted on what he knew to be true.
Diffstat (limited to 'src/init.cpp')
0 files changed, 0 insertions, 0 deletions