From e89b9f6a2abaa120ff0fc3cea9ae364e8cbd25e4 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Wed, 1 Jun 2011 18:27:05 +0200 Subject: 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. --- src/keystore.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/keystore.h (limited to 'src/keystore.h') 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 GenerateNewKey(); + +#endif -- cgit v1.2.3