Changeset View
Changeset View
Standalone View
Standalone View
src/keystore.h
// Copyright (c) 2009-2010 Satoshi Nakamoto | // Copyright (c) 2009-2010 Satoshi Nakamoto | ||||
// Copyright (c) 2009-2015 The Bitcoin Core developers | // Copyright (c) 2009-2015 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef BITCOIN_KEYSTORE_H | #ifndef BITCOIN_KEYSTORE_H | ||||
#define BITCOIN_KEYSTORE_H | #define BITCOIN_KEYSTORE_H | ||||
#include "key.h" | #include "key.h" | ||||
#include "pubkey.h" | #include "pubkey.h" | ||||
#include "script/script.h" | #include "script/script.h" | ||||
#include "script/standard.h" | #include "script/standard.h" | ||||
#include "sync.h" | #include "sync.h" | ||||
#include <boost/signals2/signal.hpp> | #include <boost/signals2/signal.hpp> | ||||
#include <boost/variant.hpp> | |||||
/** A virtual base class for key stores */ | /** A virtual base class for key stores */ | ||||
class CKeyStore { | class CKeyStore { | ||||
protected: | protected: | ||||
mutable CCriticalSection cs_KeyStore; | mutable CCriticalSection cs_KeyStore; | ||||
public: | public: | ||||
virtual ~CKeyStore() {} | virtual ~CKeyStore() {} | ||||
▲ Show 20 Lines • Show All 89 Lines • Show Last 20 Lines |