Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

ismine.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2015 The Bitcoin Core 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 BITCOIN_SCRIPT_ISMINE_H
7 #define BITCOIN_SCRIPT_ISMINE_H
8 
9 #include <script/standard.h>
10 
11 #include <stdint.h>
12 
13 class CKeyStore;
14 class CScript;
15 
18 {
19  ISMINE_NO = 0,
27 };
29 typedef uint8_t isminefilter;
30 
31 isminetype IsMine(const CKeyStore& keystore, const CScript& scriptPubKey);
32 isminetype IsMine(const CKeyStore& keystore, const CTxDestination& dest);
33 
34 #endif // BITCOIN_SCRIPT_ISMINE_H
boost::variant< CNoDestination, CKeyID, CScriptID > CTxDestination
A txout script template with a specific destination.
Definition: standard.h:80
uint8_t isminefilter
used for bitflags of isminetype
Definition: ismine.h:29
Indicates that we don&#39;t know how to create a scriptSig that would solve this if we were given the app...
Definition: ismine.h:21
isminetype
IsMine() return codes.
Definition: ismine.h:17
isminetype IsMine(const CKeyStore &keystore, const CScript &scriptPubKey)
Definition: ismine.cpp:34
Serialized script, used inside transaction inputs and outputs.
Definition: script.h:389
A virtual base class for key stores.
Definition: keystore.h:19
Indicates that we know how to create a scriptSig that would solve this if we were given the appropria...
Definition: ismine.h:23
Released under the MIT license