690cb58f80
* Merge pull request #7154
a3c3ddb [Qt] add InMempool() info to transaction details (Jonas Schnelli)
* Merge pull request #7218
fa5769e [qt] Fix misleading translation (MarcoFalke)
fa8c8d7
torcontrol debug: Change to a blanket message that covers both cases (MarcoFalke)
* Merge pull request #7255
6fd0a07 Remove hardcoded fee from CoinControl ToolTip (fanquake)
5fdf32d Replace some instances of formatWithUnit with formatHtmlWithUnit (fanquake)
* Merge pull request #7263
a5a0831 Double semicolon cleanup. (21E14)
* Merge pull request #7334
fa989fb [qt] coincontrol workaround is still needed in qt5.4 (fixed in qt5.5) (MarcoFalke)
* Merge pull request #7329
9d263bd Typo fixes in comments (Chris Wheeler)
* Merge #7396: [Qt] Add option to increase/decrease font size in the console window
43abb02 [Qt] Add a new chevron/arrow icon for the console prompt line (Jonas Schnelli)
56c9e66 [Qt] keep scroll position in GUI console after changing font size (Jonas Schnelli)
3a3a927 [Qt] Add option to increase/decrease font size in the console window (Jonas Schnelli)
* Merge #7628: QT: Add 'copy full transaction details' option
b51ed40 QT: Add 'copy full transaction details' option (Eric Shaw)
* Merge #7668: Fix history deletion bug after font size change
21e45a0 Fix history deletion bug after font change (Andrew C)
* Copy/Move font size related icons into theme folders
* Use formatTxDate for date/time in TxPlainTextRole
35 lines
1.2 KiB
C++
35 lines
1.2 KiB
C++
// Copyright (c) 2009-2010 Satoshi Nakamoto
|
|
// Copyright (c) 2009-2015 The Bitcoin Core developers
|
|
// Distributed under the MIT software license, see the accompanying
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
#ifndef BITCOIN_WALLET_WALLET_ISMINE_H
|
|
#define BITCOIN_WALLET_WALLET_ISMINE_H
|
|
|
|
#include "script/standard.h"
|
|
|
|
#include <stdint.h>
|
|
|
|
class CKeyStore;
|
|
class CScript;
|
|
|
|
/** IsMine() return codes */
|
|
enum isminetype
|
|
{
|
|
ISMINE_NO = 0,
|
|
//! Indicates that we don't know how to create a scriptSig that would solve this if we were given the appropriate private keys
|
|
ISMINE_WATCH_UNSOLVABLE = 1,
|
|
//! Indicates that we know how to create a scriptSig that would solve this if we were given the appropriate private keys
|
|
ISMINE_WATCH_SOLVABLE = 2,
|
|
ISMINE_WATCH_ONLY = ISMINE_WATCH_SOLVABLE | ISMINE_WATCH_UNSOLVABLE,
|
|
ISMINE_SPENDABLE = 4,
|
|
ISMINE_ALL = ISMINE_WATCH_ONLY | ISMINE_SPENDABLE
|
|
};
|
|
/** used for bitflags of isminetype */
|
|
typedef uint8_t isminefilter;
|
|
|
|
isminetype IsMine(const CKeyStore& keystore, const CScript& scriptPubKey);
|
|
isminetype IsMine(const CKeyStore& keystore, const CTxDestination& dest);
|
|
|
|
#endif // BITCOIN_WALLET_WALLET_ISMINE_H
|