aboutsummaryrefslogtreecommitdiff
path: root/src/keystore.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2011-06-01 18:27:05 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2011-06-15 11:05:55 +0200
commite89b9f6a2abaa120ff0fc3cea9ae364e8cbd25e4 (patch)
treeef0789aeadd8ff3e53c2705ea9153f0e612f689c /src/keystore.h
parent19ea44208f7c2cf335c654126deb81406036e328 (diff)
downloadbitcoin-e89b9f6a2abaa120ff0fc3cea9ae364e8cbd25e4.tar.xz
move wallet code to separate file
This introduces two new source files, keystore.cpp and wallet.cpp with corresponding headers. Code is moved from main and db, in a preparation for a follow-up commit which introduces the classes CWallet and CKeyStore.
Diffstat (limited to 'src/keystore.h')
-rw-r--r--src/keystore.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/keystore.h b/src/keystore.h
new file mode 100644
index 0000000000..2f37ec5078
--- /dev/null
+++ b/src/keystore.h
@@ -0,0 +1,10 @@
+// Copyright (c) 2009-2011 Satoshi Nakamoto & Bitcoin developers
+// Distributed under the MIT/X11 software license, see the accompanying
+// file license.txt or http://www.opensource.org/licenses/mit-license.php.
+#ifndef BITCOIN_KEYSTORE_H
+#define BITCOIN_KEYSTORE_H
+
+bool AddKey(const CKey& key);
+std::vector<unsigned char> GenerateNewKey();
+
+#endif