diff options
author | Ivan Pustogarov <ivanpustogarov@users.noreply.github.com> | 2014-12-07 17:30:57 +0100 |
---|---|---|
committer | Ivan Pustogarov <ivanpustogarov@users.noreply.github.com> | 2015-02-06 22:03:42 +0100 |
commit | dca799e1db6e319fdd47e0bfdb038eab0efabb85 (patch) | |
tree | ced9b22d5688baf8ed31b37a59f34e4db2851673 /src/test/miner_tests.cpp | |
parent | fb6140b54bad51e3b063dfb005bfde13aca64eb4 (diff) |
Ignore getaddr messages on Outbound connections.
The only time when a client sends a "getaddr" message is when he
esatblishes an Outbound connection (see ProcessMessage() in
src/main.cpp). Another bitcoin client is expected to receive a
"getaddr" message only on Inbound connection. Ignoring "gettaddr"
requests on Outbound connections can resolve potential privacy issues
(and as was said such request normally do not happen anyway).
Diffstat (limited to 'src/test/miner_tests.cpp')
0 files changed, 0 insertions, 0 deletions