|
|
@ -93,15 +93,6 @@ void UnregisterWallet(CWallet* pwalletIn) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// check whether the passed transaction is from us
|
|
|
|
|
|
|
|
bool static IsFromMe(CTransaction& tx) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
BOOST_FOREACH(CWallet* pwallet, setpwalletRegistered) |
|
|
|
|
|
|
|
if (pwallet->IsFromMe(tx)) |
|
|
|
|
|
|
|
return true; |
|
|
|
|
|
|
|
return false; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// get the wallet transaction with the given hash (if it exists)
|
|
|
|
// get the wallet transaction with the given hash (if it exists)
|
|
|
|
bool static GetTransaction(const uint256& hashTx, CWalletTx& wtx) |
|
|
|
bool static GetTransaction(const uint256& hashTx, CWalletTx& wtx) |
|
|
|
{ |
|
|
|
{ |
|
|
|