Skip to content

Commit a3e192a

Browse files
replaced MINE_ with ISMINE_
1 parent 53a2148 commit a3e192a

File tree

8 files changed

+75
-75
lines changed

8 files changed

+75
-75
lines changed

src/qt/transactiondesc.cpp

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ QString TransactionDesc::toHTML(CWallet *wallet, CWalletTx &wtx, TransactionReco
5555
strHTML += "<html><font face='verdana, arial, helvetica, sans-serif'>";
5656

5757
int64_t nTime = wtx.GetTxTime();
58-
int64_t nCredit = wtx.GetCredit(MINE_ALL);
59-
int64_t nDebit = wtx.GetDebit(MINE_ALL);
58+
int64_t nCredit = wtx.GetCredit(ISMINE_ALL);
59+
int64_t nDebit = wtx.GetDebit(ISMINE_ALL);
6060
int64_t nNet = nCredit - nDebit;
6161

6262
strHTML += "<b>" + tr("Status") + ":</b> " + FormatTxStatus(wtx);
@@ -98,7 +98,7 @@ QString TransactionDesc::toHTML(CWallet *wallet, CWalletTx &wtx, TransactionReco
9898
strHTML += "<b>" + tr("From") + ":</b> " + tr("unknown") + "<br>";
9999
strHTML += "<b>" + tr("To") + ":</b> ";
100100
strHTML += GUIUtil::HtmlEscape(rec->address);
101-
QString addressOwned = (::IsMine(*wallet, address) == MINE_SPENDABLE) ? tr("own address") : tr("watch-only");
101+
QString addressOwned = (::IsMine(*wallet, address) == ISMINE_SPENDABLE) ? tr("own address") : tr("watch-only");
102102
if (!wallet->mapAddressBook[address].name.empty())
103103
strHTML += " (" + addressOwned + ", " + tr("label") + ": " + GUIUtil::HtmlEscape(wallet->mapAddressBook[address].name) + ")";
104104
else
@@ -133,7 +133,7 @@ QString TransactionDesc::toHTML(CWallet *wallet, CWalletTx &wtx, TransactionReco
133133
//
134134
int64_t nUnmatured = 0;
135135
BOOST_FOREACH(const CTxOut& txout, wtx.vout)
136-
nUnmatured += wallet->GetCredit(txout, MINE_ALL);
136+
nUnmatured += wallet->GetCredit(txout, ISMINE_ALL);
137137
strHTML += "<b>" + tr("Credit") + ":</b> ";
138138
if (wtx.IsInMainChain())
139139
strHTML += BitcoinUnits::formatWithUnit(unit, nUnmatured)+ " (" + tr("matures in %n more block(s)", "", wtx.GetBlocksToMaturity()) + ")";
@@ -150,14 +150,14 @@ QString TransactionDesc::toHTML(CWallet *wallet, CWalletTx &wtx, TransactionReco
150150
}
151151
else
152152
{
153-
isminetype fAllFromMe = MINE_SPENDABLE;
153+
isminetype fAllFromMe = ISMINE_SPENDABLE;
154154
BOOST_FOREACH(const CTxIn& txin, wtx.vin)
155155
{
156156
isminetype mine = wallet->IsMine(txin);
157157
if(fAllFromMe > mine) fAllFromMe = mine;
158158
}
159159

160-
isminetype fAllToMe = MINE_SPENDABLE;
160+
isminetype fAllToMe = ISMINE_SPENDABLE;
161161
BOOST_FOREACH(const CTxOut& txout, wtx.vout)
162162
{
163163
isminetype mine = wallet->IsMine(txout);
@@ -166,7 +166,7 @@ QString TransactionDesc::toHTML(CWallet *wallet, CWalletTx &wtx, TransactionReco
166166

167167
if (fAllFromMe)
168168
{
169-
if(fAllFromMe == MINE_WATCH_ONLY)
169+
if(fAllFromMe == ISMINE_WATCH_ONLY)
170170
strHTML += "<b>" + tr("From") + ":</b> " + tr("watch-only") + "<br>";
171171

172172
//
@@ -176,7 +176,7 @@ QString TransactionDesc::toHTML(CWallet *wallet, CWalletTx &wtx, TransactionReco
176176
{
177177
// Ignore change
178178
isminetype toSelf = wallet->IsMine(txout);
179-
if ((toSelf == MINE_SPENDABLE) && (fAllFromMe == MINE_SPENDABLE))
179+
if ((toSelf == ISMINE_SPENDABLE) && (fAllFromMe == ISMINE_SPENDABLE))
180180
continue;
181181

182182
if (!wtx.mapValue.count("to") || wtx.mapValue["to"].empty())
@@ -189,9 +189,9 @@ QString TransactionDesc::toHTML(CWallet *wallet, CWalletTx &wtx, TransactionReco
189189
if (wallet->mapAddressBook.count(address) && !wallet->mapAddressBook[address].name.empty())
190190
strHTML += GUIUtil::HtmlEscape(wallet->mapAddressBook[address].name) + " ";
191191
strHTML += GUIUtil::HtmlEscape(CBitcoinAddress(address).ToString());
192-
if(toSelf == MINE_SPENDABLE)
192+
if(toSelf == ISMINE_SPENDABLE)
193193
strHTML += " (own address)";
194-
else if(toSelf == MINE_WATCH_ONLY)
194+
else if(toSelf == ISMINE_WATCH_ONLY)
195195
strHTML += " (watch-only)";
196196
strHTML += "<br>";
197197
}
@@ -222,10 +222,10 @@ QString TransactionDesc::toHTML(CWallet *wallet, CWalletTx &wtx, TransactionReco
222222
//
223223
BOOST_FOREACH(const CTxIn& txin, wtx.vin)
224224
if (wallet->IsMine(txin))
225-
strHTML += "<b>" + tr("Debit") + ":</b> " + BitcoinUnits::formatWithUnit(unit, -wallet->GetDebit(txin, MINE_ALL)) + "<br>";
225+
strHTML += "<b>" + tr("Debit") + ":</b> " + BitcoinUnits::formatWithUnit(unit, -wallet->GetDebit(txin, ISMINE_ALL)) + "<br>";
226226
BOOST_FOREACH(const CTxOut& txout, wtx.vout)
227227
if (wallet->IsMine(txout))
228-
strHTML += "<b>" + tr("Credit") + ":</b> " + BitcoinUnits::formatWithUnit(unit, wallet->GetCredit(txout, MINE_ALL)) + "<br>";
228+
strHTML += "<b>" + tr("Credit") + ":</b> " + BitcoinUnits::formatWithUnit(unit, wallet->GetCredit(txout, ISMINE_ALL)) + "<br>";
229229
}
230230
}
231231

@@ -275,10 +275,10 @@ QString TransactionDesc::toHTML(CWallet *wallet, CWalletTx &wtx, TransactionReco
275275
strHTML += "<hr><br>" + tr("Debug information") + "<br><br>";
276276
BOOST_FOREACH(const CTxIn& txin, wtx.vin)
277277
if(wallet->IsMine(txin))
278-
strHTML += "<b>" + tr("Debit") + ":</b> " + BitcoinUnits::formatWithUnit(unit, -wallet->GetDebit(txin, MINE_ALL)) + "<br>";
278+
strHTML += "<b>" + tr("Debit") + ":</b> " + BitcoinUnits::formatWithUnit(unit, -wallet->GetDebit(txin, ISMINE_ALL)) + "<br>";
279279
BOOST_FOREACH(const CTxOut& txout, wtx.vout)
280280
if(wallet->IsMine(txout))
281-
strHTML += "<b>" + tr("Credit") + ":</b> " + BitcoinUnits::formatWithUnit(unit, wallet->GetCredit(txout, MINE_ALL)) + "<br>";
281+
strHTML += "<b>" + tr("Credit") + ":</b> " + BitcoinUnits::formatWithUnit(unit, wallet->GetCredit(txout, ISMINE_ALL)) + "<br>";
282282

283283
strHTML += "<br><b>" + tr("Transaction") + ":</b><br>";
284284
strHTML += GUIUtil::HtmlEscape(wtx.ToString(), true);
@@ -305,8 +305,8 @@ QString TransactionDesc::toHTML(CWallet *wallet, CWalletTx &wtx, TransactionReco
305305
strHTML += QString::fromStdString(CBitcoinAddress(address).ToString());
306306
}
307307
strHTML = strHTML + " " + tr("Amount") + "=" + BitcoinUnits::formatWithUnit(unit, vout.nValue);
308-
strHTML = strHTML + " IsMine=" + (wallet->IsMine(vout) & MINE_SPENDABLE ? tr("true") : tr("false")) + "</li>";
309-
strHTML = strHTML + " IsWatchOnly=" + (wallet->IsMine(vout) & MINE_WATCH_ONLY ? tr("true") : tr("false")) + "</li>";
308+
strHTML = strHTML + " IsMine=" + (wallet->IsMine(vout) & ISMINE_SPENDABLE ? tr("true") : tr("false")) + "</li>";
309+
strHTML = strHTML + " IsWatchOnly=" + (wallet->IsMine(vout) & ISMINE_WATCH_ONLY ? tr("true") : tr("false")) + "</li>";
310310
}
311311
}
312312
}

src/qt/transactionrecord.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ QList<TransactionRecord> TransactionRecord::decomposeTransaction(const CWallet *
3333
QList<TransactionRecord> parts;
3434
int64_t nTime = wtx.GetTxTime();
3535
int64_t nCredit = wtx.GetCredit(true);
36-
int64_t nDebit = wtx.GetDebit(MINE_ALL);
36+
int64_t nDebit = wtx.GetDebit(ISMINE_ALL);
3737
int64_t nNet = nCredit - nDebit;
3838
uint256 hash = wtx.GetHash();
3939
std::map<std::string, std::string> mapValue = wtx.mapValue;
@@ -52,7 +52,7 @@ QList<TransactionRecord> TransactionRecord::decomposeTransaction(const CWallet *
5252
CTxDestination address;
5353
sub.idx = parts.size(); // sequence number
5454
sub.credit = txout.nValue;
55-
sub.involvesWatchAddress = mine == MINE_WATCH_ONLY;
55+
sub.involvesWatchAddress = mine == ISMINE_WATCH_ONLY;
5656
if (ExtractDestination(txout.scriptPubKey, address) && IsMine(*wallet, address))
5757
{
5858
// Received by Bitcoin Address
@@ -78,19 +78,19 @@ QList<TransactionRecord> TransactionRecord::decomposeTransaction(const CWallet *
7878
else
7979
{
8080
bool involvesWatchAddress = false;
81-
isminetype fAllFromMe = MINE_SPENDABLE;
81+
isminetype fAllFromMe = ISMINE_SPENDABLE;
8282
BOOST_FOREACH(const CTxIn& txin, wtx.vin)
8383
{
8484
isminetype mine = wallet->IsMine(txin);
85-
if(mine == MINE_WATCH_ONLY) involvesWatchAddress = true;
85+
if(mine == ISMINE_WATCH_ONLY) involvesWatchAddress = true;
8686
if(fAllFromMe > mine) fAllFromMe = mine;
8787
}
8888

89-
isminetype fAllToMe = MINE_SPENDABLE;
89+
isminetype fAllToMe = ISMINE_SPENDABLE;
9090
BOOST_FOREACH(const CTxOut& txout, wtx.vout)
9191
{
9292
isminetype mine = wallet->IsMine(txout);
93-
if(mine == MINE_WATCH_ONLY) involvesWatchAddress = true;
93+
if(mine == ISMINE_WATCH_ONLY) involvesWatchAddress = true;
9494
if(fAllToMe > mine) fAllToMe = mine;
9595
}
9696

src/rpcmisc.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class DescribeAddressVisitor : public boost::static_visitor<Object>
104104
Object obj;
105105
CPubKey vchPubKey;
106106
obj.push_back(Pair("isscript", false));
107-
if (mine == MINE_SPENDABLE) {
107+
if (mine == ISMINE_SPENDABLE) {
108108
pwalletMain->GetPubKey(keyID, vchPubKey);
109109
obj.push_back(Pair("pubkey", HexStr(vchPubKey)));
110110
obj.push_back(Pair("iscompressed", vchPubKey.IsCompressed()));
@@ -115,7 +115,7 @@ class DescribeAddressVisitor : public boost::static_visitor<Object>
115115
Object operator()(const CScriptID &scriptID) const {
116116
Object obj;
117117
obj.push_back(Pair("isscript", true));
118-
if (mine != MINE_NO) {
118+
if (mine != ISMINE_NO) {
119119
CScript subscript;
120120
pwalletMain->GetCScript(scriptID, subscript);
121121
std::vector<CTxDestination> addresses;
@@ -170,10 +170,10 @@ Value validateaddress(const Array& params, bool fHelp)
170170
string currentAddress = address.ToString();
171171
ret.push_back(Pair("address", currentAddress));
172172
#ifdef ENABLE_WALLET
173-
isminetype mine = pwalletMain ? IsMine(*pwalletMain, dest) : MINE_NO;
174-
ret.push_back(Pair("ismine", (mine & MINE_SPENDABLE) ? true : false));
175-
if (mine != MINE_NO) {
176-
ret.push_back(Pair("iswatchonly", (mine & MINE_WATCH_ONLY) ? true: false));
173+
isminetype mine = pwalletMain ? IsMine(*pwalletMain, dest) : ISMINE_NO;
174+
ret.push_back(Pair("ismine", (mine & ISMINE_SPENDABLE) ? true : false));
175+
if (mine != ISMINE_NO) {
176+
ret.push_back(Pair("iswatchonly", (mine & ISMINE_WATCH_ONLY) ? true: false));
177177
Object detail = boost::apply_visitor(DescribeAddressVisitor(mine), dest);
178178
ret.insert(ret.end(), detail.begin(), detail.end());
179179
}

src/rpcwallet.cpp

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -623,10 +623,10 @@ Value getbalance(const Array& params, bool fHelp)
623623
int nMinDepth = 1;
624624
if (params.size() > 1)
625625
nMinDepth = params[1].get_int();
626-
isminefilter filter = MINE_SPENDABLE;
626+
isminefilter filter = ISMINE_SPENDABLE;
627627
if(params.size() > 2)
628628
if(params[2].get_bool())
629-
filter = filter | MINE_WATCH_ONLY;
629+
filter = filter | ISMINE_WATCH_ONLY;
630630

631631
if (params[0].get_str() == "*") {
632632
// Calculate total balance a different way from GetBalance()
@@ -786,7 +786,7 @@ Value sendfrom(const Array& params, bool fHelp)
786786
EnsureWalletIsUnlocked();
787787

788788
// Check funds
789-
int64_t nBalance = GetAccountBalance(strAccount, nMinDepth, MINE_SPENDABLE);
789+
int64_t nBalance = GetAccountBalance(strAccount, nMinDepth, ISMINE_SPENDABLE);
790790
if (nAmount > nBalance)
791791
throw JSONRPCError(RPC_WALLET_INSUFFICIENT_FUNDS, "Account has insufficient funds");
792792

@@ -863,7 +863,7 @@ Value sendmany(const Array& params, bool fHelp)
863863
EnsureWalletIsUnlocked();
864864

865865
// Check funds
866-
int64_t nBalance = GetAccountBalance(strAccount, nMinDepth, MINE_SPENDABLE);
866+
int64_t nBalance = GetAccountBalance(strAccount, nMinDepth, ISMINE_SPENDABLE);
867867
if (totalAmount > nBalance)
868868
throw JSONRPCError(RPC_WALLET_INSUFFICIENT_FUNDS, "Account has insufficient funds");
869869

@@ -953,10 +953,10 @@ Value ListReceived(const Array& params, bool fByAccounts)
953953
if (params.size() > 1)
954954
fIncludeEmpty = params[1].get_bool();
955955

956-
isminefilter filter = MINE_SPENDABLE;
956+
isminefilter filter = ISMINE_SPENDABLE;
957957
if(params.size() > 2)
958958
if(params[2].get_bool())
959-
filter = filter | MINE_WATCH_ONLY;
959+
filter = filter | ISMINE_WATCH_ONLY;
960960

961961
// Tally
962962
map<CBitcoinAddress, tallyitem> mapTally;
@@ -985,7 +985,7 @@ Value ListReceived(const Array& params, bool fByAccounts)
985985
item.nAmount += txout.nValue;
986986
item.nConf = min(item.nConf, nDepth);
987987
item.txids.push_back(wtx.GetHash());
988-
if (mine & MINE_WATCH_ONLY)
988+
if (mine & ISMINE_WATCH_ONLY)
989989
item.fIsWatchonly = true;
990990
}
991991
}
@@ -1139,15 +1139,15 @@ void ListTransactions(const CWalletTx& wtx, const string& strAccount, int nMinDe
11391139
wtx.GetAmounts(listReceived, listSent, nFee, strSentAccount, filter);
11401140

11411141
bool fAllAccounts = (strAccount == string("*"));
1142-
bool involvesWatchonly = wtx.IsFromMe(MINE_WATCH_ONLY);
1142+
bool involvesWatchonly = wtx.IsFromMe(ISMINE_WATCH_ONLY);
11431143

11441144
// Sent
11451145
if ((!listSent.empty() || nFee != 0) && (fAllAccounts || strAccount == strSentAccount))
11461146
{
11471147
BOOST_FOREACH(const PAIRTYPE(CTxDestination, int64_t)& s, listSent)
11481148
{
11491149
Object entry;
1150-
if(involvesWatchonly || (::IsMine(*pwalletMain, s.first) & MINE_WATCH_ONLY))
1150+
if(involvesWatchonly || (::IsMine(*pwalletMain, s.first) & ISMINE_WATCH_ONLY))
11511151
entry.push_back(Pair("involvesWatchonly", true));
11521152
entry.push_back(Pair("account", strSentAccount));
11531153
MaybePushAddress(entry, s.first);
@@ -1171,7 +1171,7 @@ void ListTransactions(const CWalletTx& wtx, const string& strAccount, int nMinDe
11711171
if (fAllAccounts || (account == strAccount))
11721172
{
11731173
Object entry;
1174-
if(involvesWatchonly || (::IsMine(*pwalletMain, r.first) & MINE_WATCH_ONLY))
1174+
if(involvesWatchonly || (::IsMine(*pwalletMain, r.first) & ISMINE_WATCH_ONLY))
11751175
entry.push_back(Pair("involvesWatchonly", true));
11761176
entry.push_back(Pair("account", account));
11771177
MaybePushAddress(entry, r.first);
@@ -1285,10 +1285,10 @@ Value listtransactions(const Array& params, bool fHelp)
12851285
int nFrom = 0;
12861286
if (params.size() > 2)
12871287
nFrom = params[2].get_int();
1288-
isminefilter filter = MINE_SPENDABLE;
1288+
isminefilter filter = ISMINE_SPENDABLE;
12891289
if(params.size() > 3)
12901290
if(params[3].get_bool())
1291-
filter = filter | MINE_WATCH_ONLY;
1291+
filter = filter | ISMINE_WATCH_ONLY;
12921292

12931293
if (nCount < 0)
12941294
throw JSONRPCError(RPC_INVALID_PARAMETER, "Negative count");
@@ -1359,10 +1359,10 @@ Value listaccounts(const Array& params, bool fHelp)
13591359
int nMinDepth = 1;
13601360
if (params.size() > 0)
13611361
nMinDepth = params[0].get_int();
1362-
isminefilter includeWatchonly = MINE_SPENDABLE;
1362+
isminefilter includeWatchonly = ISMINE_SPENDABLE;
13631363
if(params.size() > 1)
13641364
if(params[1].get_bool())
1365-
includeWatchonly = includeWatchonly | MINE_WATCH_ONLY;
1365+
includeWatchonly = includeWatchonly | ISMINE_WATCH_ONLY;
13661366

13671367
map<string, int64_t> mapAccountBalances;
13681368
BOOST_FOREACH(const PAIRTYPE(CTxDestination, CAddressBookData)& entry, pwalletMain->mapAddressBook) {
@@ -1451,7 +1451,7 @@ Value listsinceblock(const Array& params, bool fHelp)
14511451

14521452
CBlockIndex *pindex = NULL;
14531453
int target_confirms = 1;
1454-
isminefilter filter = MINE_SPENDABLE;
1454+
isminefilter filter = ISMINE_SPENDABLE;
14551455

14561456
if (params.size() > 0)
14571457
{
@@ -1473,7 +1473,7 @@ Value listsinceblock(const Array& params, bool fHelp)
14731473

14741474
if(params.size() > 2)
14751475
if(params[2].get_bool())
1476-
filter = filter | MINE_WATCH_ONLY;
1476+
filter = filter | ISMINE_WATCH_ONLY;
14771477

14781478
int depth = pindex ? (1 + chainActive.Height() - pindex->nHeight) : -1;
14791479

@@ -1542,10 +1542,10 @@ Value gettransaction(const Array& params, bool fHelp)
15421542
uint256 hash;
15431543
hash.SetHex(params[0].get_str());
15441544

1545-
isminefilter filter = MINE_SPENDABLE;
1545+
isminefilter filter = ISMINE_SPENDABLE;
15461546
if(params.size() > 1)
15471547
if(params[1].get_bool())
1548-
filter = filter | MINE_WATCH_ONLY;
1548+
filter = filter | ISMINE_WATCH_ONLY;
15491549

15501550
Object entry;
15511551
if (!pwalletMain->mapWallet.count(hash))

src/script.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1469,8 +1469,8 @@ isminetype IsMine(const CKeyStore &keystore, const CScript& scriptPubKey)
14691469
txnouttype whichType;
14701470
if (!Solver(scriptPubKey, whichType, vSolutions)) {
14711471
if (keystore.HaveWatchOnly(scriptPubKey))
1472-
return MINE_WATCH_ONLY;
1473-
return MINE_NO;
1472+
return ISMINE_WATCH_ONLY;
1473+
return ISMINE_NO;
14741474
}
14751475

14761476
CKeyID keyID;
@@ -1482,20 +1482,20 @@ isminetype IsMine(const CKeyStore &keystore, const CScript& scriptPubKey)
14821482
case TX_PUBKEY:
14831483
keyID = CPubKey(vSolutions[0]).GetID();
14841484
if (keystore.HaveKey(keyID))
1485-
return MINE_SPENDABLE;
1485+
return ISMINE_SPENDABLE;
14861486
break;
14871487
case TX_PUBKEYHASH:
14881488
keyID = CKeyID(uint160(vSolutions[0]));
14891489
if (keystore.HaveKey(keyID))
1490-
return MINE_SPENDABLE;
1490+
return ISMINE_SPENDABLE;
14911491
break;
14921492
case TX_SCRIPTHASH:
14931493
{
14941494
CScriptID scriptID = CScriptID(uint160(vSolutions[0]));
14951495
CScript subscript;
14961496
if (keystore.GetCScript(scriptID, subscript)) {
14971497
isminetype ret = IsMine(keystore, subscript);
1498-
if (ret == MINE_SPENDABLE)
1498+
if (ret == ISMINE_SPENDABLE)
14991499
return ret;
15001500
}
15011501
break;
@@ -1509,14 +1509,14 @@ isminetype IsMine(const CKeyStore &keystore, const CScript& scriptPubKey)
15091509
// in shared-wallet situations.
15101510
vector<valtype> keys(vSolutions.begin()+1, vSolutions.begin()+vSolutions.size()-1);
15111511
if (HaveKeys(keys, keystore) == keys.size())
1512-
return MINE_SPENDABLE;
1512+
return ISMINE_SPENDABLE;
15131513
break;
15141514
}
15151515
}
15161516

15171517
if (keystore.HaveWatchOnly(scriptPubKey))
1518-
return MINE_WATCH_ONLY;
1519-
return MINE_NO;
1518+
return ISMINE_WATCH_ONLY;
1519+
return ISMINE_NO;
15201520
}
15211521

15221522
bool ExtractDestination(const CScript& scriptPubKey, CTxDestination& addressRet)

src/script.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,10 @@ enum
197197
/** IsMine() return codes */
198198
enum isminetype
199199
{
200-
MINE_NO = 0,
201-
MINE_WATCH_ONLY = 1,
202-
MINE_SPENDABLE = 2,
203-
MINE_ALL = MINE_WATCH_ONLY | MINE_SPENDABLE
200+
ISMINE_NO = 0,
201+
ISMINE_WATCH_ONLY = 1,
202+
ISMINE_SPENDABLE = 2,
203+
ISMINE_ALL = ISMINE_WATCH_ONLY | ISMINE_SPENDABLE
204204
};
205205
/** used for bitflags of isminetype */
206206
typedef uint8_t isminefilter;

0 commit comments

Comments
 (0)