aboutsummaryrefslogtreecommitdiff
path: root/net.h
diff options
context:
space:
mode:
authors_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-08-25 00:05:37 +0000
committers_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-08-25 00:05:37 +0000
commit401926283a200994ecd7df8eae8ced8e0b067c46 (patch)
tree4b3e85c5afc7886f1d1461bee0d075db4daaec6f /net.h
parent2201a0808ea240617a66823f98dda3433d2546b0 (diff)
alert system
-- version 0.3.11 git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@142 1a98c847-1fd6-4fd8-948a-caf3550aa51b
Diffstat (limited to 'net.h')
-rw-r--r--net.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/net.h b/net.h
index 3e98835075..cf6bc94eb5 100644
--- a/net.h
+++ b/net.h
@@ -504,6 +504,7 @@ public:
unsigned int nMessageStart;
CAddress addr;
int nVersion;
+ string strSubVer;
bool fClient;
bool fInbound;
bool fNetworkNode;
@@ -520,10 +521,11 @@ public:
uint256 hashLastGetBlocksEnd;
int nStartingHeight;
- // flood
+ // flood relay
vector<CAddress> vAddrToSend;
set<CAddress> setAddrKnown;
bool fGetAddr;
+ set<uint256> setKnown;
// inventory based relay
set<CInv> setInventoryKnown;
@@ -557,6 +559,7 @@ public:
nMessageStart = -1;
addr = addrIn;
nVersion = 0;
+ strSubVer = "";
fClient = false; // set by version message
fInbound = fInboundIn;
fNetworkNode = false;