]> Git Repo - VerusCoin.git/blob - src/wallet_ismine.h
cleanup new script files (no code changes)
[VerusCoin.git] / src / wallet_ismine.h
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2014 The Bitcoin developers
3 // Distributed under the MIT software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
6 #ifndef H_BITCOIN_WALLET_ISMINE
7 #define H_BITCOIN_WALLET_ISMINE
8
9 #include "key.h"
10 #include "script/script.h"
11
12 class CKeyStore;
13
14 /** IsMine() return codes */
15 enum isminetype
16 {
17     ISMINE_NO = 0,
18     ISMINE_WATCH_ONLY = 1,
19     ISMINE_SPENDABLE = 2,
20     ISMINE_ALL = ISMINE_WATCH_ONLY | ISMINE_SPENDABLE
21 };
22 /** used for bitflags of isminetype */
23 typedef uint8_t isminefilter;
24
25 isminetype IsMine(const CKeyStore& keystore, const CScript& scriptPubKey);
26 isminetype IsMine(const CKeyStore& keystore, const CTxDestination& dest);
27
28 #endif // H_BITCOIN_WALLET_ISMINE
This page took 0.027533 seconds and 4 git commands to generate.