diff options
author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-06-10 23:10:30 +0000 |
---|---|---|
committer | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-06-10 23:10:30 +0000 |
commit | 3b318ed09588d383e7a1d79b167e71386205db63 (patch) | |
tree | 0a34330f01acf1a2cd18f5a9f8c36ec29216a3e8 /db.h | |
parent | d9dac6772f58e79cce0e2417c083547326056cc8 (diff) |
automatically change displayed address whenever it receives anything,
added help and -? for daemon command line rpc commands,
only relay addr messages to 5 random nodes to save bandwidth,
started setting wtx.fFromMe flag,
trickle out tx inventory messages to protect privacy
-- version 0.2.10
Diffstat (limited to 'db.h')
-rw-r--r-- | db.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -14,9 +14,11 @@ class CWalletTx; extern map<string, string> mapAddressBook;
extern CCriticalSection cs_mapAddressBook;
+extern vector<unsigned char> vchDefaultKey;
extern bool fClient;
+
extern unsigned int nWalletDBUpdated;
extern DbEnv dbenv;
@@ -373,6 +375,7 @@ public: bool WriteDefaultKey(const vector<unsigned char>& vchPubKey)
{
+ vchDefaultKey = vchPubKey;
nWalletDBUpdated++;
return Write(string("defaultkey"), vchPubKey);
}
@@ -390,7 +393,7 @@ public: return Write(make_pair(string("setting"), strKey), value);
}
- bool LoadWallet(vector<unsigned char>& vchDefaultKeyRet);
+ bool LoadWallet();
};
bool LoadWallet(bool& fFirstRunRet);
|