|
|
@ -825,6 +825,10 @@ public: |
|
|
|
std::set<CTxDestination> GetAccountAddresses(const std::string& strAccount) const; |
|
|
|
std::set<CTxDestination> GetAccountAddresses(const std::string& strAccount) const; |
|
|
|
|
|
|
|
|
|
|
|
isminetype IsMine(const CTxIn& txin) const; |
|
|
|
isminetype IsMine(const CTxIn& txin) const; |
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Returns amount of debit if the input matches the |
|
|
|
|
|
|
|
* filter, otherwise returns 0 |
|
|
|
|
|
|
|
*/ |
|
|
|
CAmount GetDebit(const CTxIn& txin, const isminefilter& filter) const; |
|
|
|
CAmount GetDebit(const CTxIn& txin, const isminefilter& filter) const; |
|
|
|
isminetype IsMine(const CTxOut& txout) const; |
|
|
|
isminetype IsMine(const CTxOut& txout) const; |
|
|
|
CAmount GetCredit(const CTxOut& txout, const isminefilter& filter) const; |
|
|
|
CAmount GetCredit(const CTxOut& txout, const isminefilter& filter) const; |
|
|
@ -834,6 +838,8 @@ public: |
|
|
|
/** should probably be renamed to IsRelevantToMe */ |
|
|
|
/** should probably be renamed to IsRelevantToMe */ |
|
|
|
bool IsFromMe(const CTransaction& tx) const; |
|
|
|
bool IsFromMe(const CTransaction& tx) const; |
|
|
|
CAmount GetDebit(const CTransaction& tx, const isminefilter& filter) const; |
|
|
|
CAmount GetDebit(const CTransaction& tx, const isminefilter& filter) const; |
|
|
|
|
|
|
|
/** Returns whether all of the inputs match the filter */ |
|
|
|
|
|
|
|
bool IsAllFromMe(const CTransaction& tx, const isminefilter& filter) const; |
|
|
|
CAmount GetCredit(const CTransaction& tx, const isminefilter& filter) const; |
|
|
|
CAmount GetCredit(const CTransaction& tx, const isminefilter& filter) const; |
|
|
|
CAmount GetChange(const CTransaction& tx) const; |
|
|
|
CAmount GetChange(const CTransaction& tx) const; |
|
|
|
void SetBestChain(const CBlockLocator& loc); |
|
|
|
void SetBestChain(const CBlockLocator& loc); |
|
|
|