Dash Core
0.12.2.1
P2P Digital Currency
wallet_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_WALLET_WALLET_ISMINE_H
7
#define BITCOIN_WALLET_WALLET_ISMINE_H
8
9
#include "
script/standard.h
"
10
11
#include <stdint.h>
12
13
class
CKeyStore
;
14
class
CScript
;
15
17
enum
isminetype
18
{
19
ISMINE_NO
= 0,
21
ISMINE_WATCH_UNSOLVABLE
= 1,
23
ISMINE_WATCH_SOLVABLE
= 2,
24
ISMINE_WATCH_ONLY
=
ISMINE_WATCH_SOLVABLE
|
ISMINE_WATCH_UNSOLVABLE
,
25
ISMINE_SPENDABLE
= 4,
26
ISMINE_ALL
=
ISMINE_WATCH_ONLY
|
ISMINE_SPENDABLE
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_WALLET_WALLET_ISMINE_H
CTxDestination
boost::variant< CNoDestination, CKeyID, CScriptID > CTxDestination
Definition:
standard.h:69
ISMINE_SPENDABLE
Definition:
wallet_ismine.h:25
CKeyStore
Definition:
keystore.h:20
isminefilter
uint8_t isminefilter
Definition:
wallet_ismine.h:29
IsMine
isminetype IsMine(const CKeyStore &keystore, const CScript &scriptPubKey)
Definition:
wallet_ismine.cpp:38
CScript
Definition:
script.h:373
ISMINE_WATCH_SOLVABLE
Indicates that we know how to create a scriptSig that would solve this if we were given the appropria...
Definition:
wallet_ismine.h:23
ISMINE_WATCH_ONLY
Definition:
wallet_ismine.h:24
isminetype
isminetype
Definition:
wallet_ismine.h:17
ISMINE_ALL
Definition:
wallet_ismine.h:26
ISMINE_WATCH_UNSOLVABLE
Indicates that we don't know how to create a scriptSig that would solve this if we were given the app...
Definition:
wallet_ismine.h:21
ISMINE_NO
Definition:
wallet_ismine.h:19
standard.h
src
wallet
wallet_ismine.h
Generated on Thu Dec 14 2017 13:15:10 for Dash Core by
1.8.14