From f93d5f9ffe1e12079e560a735111735924726a06 Mon Sep 17 00:00:00 2001 From: s_nakamoto Date: Thu, 10 Jun 2010 23:10:30 +0000 Subject: 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 git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@81 1a98c847-1fd6-4fd8-948a-caf3550aa51b --- main.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main.h') diff --git a/main.h b/main.h index 83b8469937..d8f257b7df 100644 --- a/main.h +++ b/main.h @@ -38,6 +38,7 @@ extern map mapRequestCount; extern CCriticalSection cs_mapRequestCount; extern map mapAddressBook; extern CCriticalSection cs_mapAddressBook; +extern vector vchDefaultKey; // Settings extern int fGenerateBitcoins; @@ -66,7 +67,7 @@ bool LoadBlockIndex(bool fAllowNew=true); void PrintBlockTree(); bool ProcessMessages(CNode* pfrom); bool ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv); -bool SendMessages(CNode* pto); +bool SendMessages(CNode* pto, bool fSendTrickle); int64 GetBalance(); bool CreateTransaction(CScript scriptPubKey, int64 nValue, CWalletTx& wtxNew, CKey& keyRet, int64& nFeeRequiredRet); bool CommitTransaction(CWalletTx& wtxNew, const CKey& key); -- cgit v1.2.3