aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-02-18 15:02:36 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2012-02-18 15:42:38 +0100
commit9976cf070fdda61afa30cd65ef5bcddad4f43e81 (patch)
tree79b6434a7ab3303a6c4fb3c03769272c0ff3a47a /src/wallet.h
parent0b807a417f4a15f3e37ae35e70a72e6169f01c02 (diff)
downloadbitcoin-9976cf070fdda61afa30cd65ef5bcddad4f43e81.tar.xz
Move GenerateNewKey back to CWallet
Diffstat (limited to 'src/wallet.h')
-rw-r--r--src/wallet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet.h b/src/wallet.h
index 622ff974b9..fea3297788 100644
--- a/src/wallet.h
+++ b/src/wallet.h
@@ -66,6 +66,8 @@ public:
std::vector<unsigned char> vchDefaultKey;
// keystore implementation
+ // Generate a new key
+ std::vector<unsigned char> GenerateNewKey();
// Adds a key to the store, and saves it to disk.
bool AddKey(const CKey& key);
// Adds a key to the store, without saving it to disk (used by LoadWallet)