upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/db.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/db.h')
-rw-r--r--src/db.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/db.h b/src/db.h
index 6dc3a4f..987786c 100644
--- a/src/db.h
+++ b/src/db.h
@@ -403,6 +403,12 @@ public:
403 403
404bool LoadWallet(); 404bool LoadWallet();
405 405
406// Writes a wallet.dat that opens on its own, anywhere -- see the definition in
407// db.cpp for why a plain file copy does not. Still a point-in-time snapshot:
408// keys are made as needed rather than derived from a seed, so coins paid to an
409// address created after this call are not spendable from the file it writes.
410bool BackupWallet(const string& strDest);
411
406inline bool SetAddressBookName(const string& strAddress, const string& strName) 412inline bool SetAddressBookName(const string& strAddress, const string& strName)
407{ 413{
408 return CWalletDB().WriteName(strAddress, strName); 414 return CWalletDB().WriteName(strAddress, strName);