aboutsummaryrefslogtreecommitdiff
path: root/src/test/script_P2SH_tests.cpp
diff options
context:
space:
mode:
authorIvan Pustogarov <[email protected]>2014-12-07 17:30:57 +0100
committerIvan Pustogarov <[email protected]>2015-02-06 22:03:42 +0100
commitdca799e1db6e319fdd47e0bfdb038eab0efabb85 (patch)
treeced9b22d5688baf8ed31b37a59f34e4db2851673 /src/test/script_P2SH_tests.cpp
parentMerge pull request #5721 (diff)
downloaddiscoin-dca799e1db6e319fdd47e0bfdb038eab0efabb85.tar.xz
discoin-dca799e1db6e319fdd47e0bfdb038eab0efabb85.zip
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/script_P2SH_tests.cpp')
0 files changed, 0 insertions, 0 deletions