bitcoin/bitcoin — pull request #1778 by Diapolo (2012-09-03 14:02:22+00:00)
Title: allow listening on -bind=address for blocked networks

I had a talk with @sipa yesterday about this on IRC, this is the patch for our discussion.

- this allows the client to listen on via -bind specified addresses
(e.g. 127.0.0.1), even when a network (IPv4 in that case) was blocked
via e.g -onlynet="Tor"
- usage case: specify -bind=127.0.0.1 -onlynet="Tor" to allow incoming
connections to a Tor hidden service, but still don't allow other IPv4
nodes to connect / get connected