Allow createwallet to take empty passwords to make unencrypted wallets
Allow createwallet to take the empty string as a password and interpret that as leaving the wallet unencrypted. Also warn when that happens.
This commit is contained in:
1 parent
b21acab82f
commit
c5d3787367
3 files changed
+27
-7
No files matched your search
@@ -0,0 +1,4 @@
|
||||
RPC changes
|
||||
-----------
|
||||
`createwallet` now returns a warning if an empty string is used as an encryption password, and does not encrypt the wallet, instead of raising an error.
|
||||
This makes it easier to disable encryption but also specify other options when using the `bitcoin-cli` tool.
|
||||
Reference in new issue
Block a user