aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2018-11-06 09:23:39 -0500
committerAndrew Chow <achow101-github@achow101.com>2019-02-14 14:00:29 -0500
commitbac8c676a727b4216ffcf4c430858bb93fda302e (patch)
treeed1b8573a9ae38bf3f60b257619107bfe0dab93e /src/wallet/wallet.h
parente7652d3f64212a6af68fc7d788411d28fcbdbd0a (diff)
Add a method to CWallet to write just CKeyMetadata
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index 5846ac0f3e..18bcc9af9c 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -776,6 +776,8 @@ public:
// Map from Script ID to key metadata (for watch-only keys).
std::map<CScriptID, CKeyMetadata> m_script_metadata GUARDED_BY(cs_wallet);
+ bool WriteKeyMetadata(const CKeyMetadata& meta, const CPubKey& pubkey, bool overwrite);
+
typedef std::map<unsigned int, CMasterKey> MasterKeyMap;
MasterKeyMap mapMasterKeys;
unsigned int nMasterKeyMaxID = 0;