aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/walletdb.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2019-12-05 15:23:05 -0500
committerAndrew Chow <achow101-github@achow101.com>2020-05-15 18:00:04 -0400
commit45f2f6a0e8514a0438a87554400bf73cbb90707f (patch)
tree979ce45063a88655f050cb2b0f2a31e56b6cca38 /src/wallet/walletdb.h
parentb59b4504abf96cec860badfed2ac793ae5d40ced (diff)
downloadbitcoin-45f2f6a0e8514a0438a87554400bf73cbb90707f.tar.xz
Determine inactive HD seeds from key metadata and track them in LegacyScriptPubKeyMan
Diffstat (limited to 'src/wallet/walletdb.h')
-rw-r--r--src/wallet/walletdb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/walletdb.h b/src/wallet/walletdb.h
index 2701481c58..4374d61dfb 100644
--- a/src/wallet/walletdb.h
+++ b/src/wallet/walletdb.h
@@ -116,6 +116,11 @@ public:
nInternalChainCounter = 0;
seed_id.SetNull();
}
+
+ bool operator==(const CHDChain& chain) const
+ {
+ return seed_id == chain.seed_id;
+ }
};
class CKeyMetadata