aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-07-02 20:57:39 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-07-02 20:57:39 +0200
commit5a7304b69dcdb3323fbade3a150be94b42d8ab43 (patch)
treee4038cf2ee67d155abe711b6c8456b5cd5bf87f4 /src/wallet/wallet.h
parent3f16971442f1b52f94759b15998bc82e82a90aea (diff)
downloadbitcoin-5a7304b69dcdb3323fbade3a150be94b42d8ab43.tar.xz
Move recently introduced CTransAction::IsEquivalentTo to CWalletTx
CTransAction::IsEquivalentTo was introduced in #5881. This functionality is only useful to the wallet, and should never have been added to the primitive transaction type.
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index f36c98e9fc..003266ba19 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -378,6 +378,9 @@ public:
return (GetDebit(filter) > 0);
}
+ // True if only scriptSigs are different
+ bool IsEquivalentTo(const CWalletTx& tx) const;
+
bool IsTrusted() const;
bool WriteToDisk(CWalletDB *pwalletdb);