diff options
author | Gregory Maxwell <greg@xiph.org> | 2016-05-21 09:45:32 +0000 |
---|---|---|
committer | Gregory Maxwell <greg@xiph.org> | 2016-05-31 15:35:45 +0000 |
commit | 4d8993b3469915d8c9ba4cd3b918f16782edf0de (patch) | |
tree | 5456eaf96d2af1e346f77af0e52d91c710709b12 /src/net.h | |
parent | 862fd24b40b478f815dcb5df4f705cae2c0a1cf9 (diff) |
Defer inserting into maprelay until just before relaying.
This reduces the rate of not founds by better matching the far
end expectations, it also improves privacy by removing the
ability to use getdata to probe for a node having a txn before
it has been relayed.
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -162,9 +162,6 @@ extern int nMaxConnections; extern std::vector<CNode*> vNodes; extern CCriticalSection cs_vNodes; -extern std::map<uint256, CTransaction> mapRelay; -extern std::deque<std::pair<int64_t, uint256> > vRelayExpiration; -extern CCriticalSection cs_mapRelay; extern limitedmap<uint256, int64_t> mapAlreadyAskedFor; extern std::vector<std::string> vAddedNodes; |