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. --- src/rpc/client.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/rpc') diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index 6f1bfb03d1..7115ce70d1 100644 --- a/src/rpc/client.cpp +++ b/src/rpc/client.cpp @@ -161,6 +161,7 @@ static const CRPCConvertParam vRPCConvertParams[] = { "rescanblockchain", 0, "start_height"}, { "rescanblockchain", 1, "stop_height"}, { "createwallet", 1, "disable_private_keys"}, + { "createwallet", 2, "blank"}, { "getnodeaddresses", 0, "count"}, { "stop", 0, "wait" }, }; -- cgit v1.2.3