From 7687f7873b75c3cbdfa15ab570211dc39d24ab80 Mon Sep 17 00:00:00 2001 From: Andrew Chow Date: Wed, 6 Feb 2019 21:26:55 -0500 Subject: [wallet] Support creating a blank wallet A blank wallet is a wallet that has no keys, script or watch only things. A new wallet flag indicating that it is blank will be set when the wallet is blank. Once it is no longer blank (a seed has been generated, keys or scripts imported, etc), the flag will be unset. --- doc/release-notes-15226.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/release-notes-15226.md (limited to 'doc') diff --git a/doc/release-notes-15226.md b/doc/release-notes-15226.md new file mode 100644 index 0000000000..3be84db3e9 --- /dev/null +++ b/doc/release-notes-15226.md @@ -0,0 +1,8 @@ +Miscellaneous RPC changes +------------ + +- The RPC `createwallet` now has an optional `blank` argument that can be used to create a blank wallet. +Blank wallets do not have any keys or HD seed. +They cannot be opened in software older than 0.18. +Once a blank wallet has a HD seed set (by using `sethdseed`) or private keys, scripts, addresses, and other watch only things have been imported, the wallet is no longer blank and can be opened in 0.17.x. +Encrypting a blank wallet will also set a HD seed for it. -- cgit v1.2.3