aboutsummaryrefslogtreecommitdiff
path: root/src/db.cpp
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2012-09-03 15:54:47 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2012-11-10 00:29:12 +0100
commitc73323eec9fb287af6e2b9e68d0aa3c157fdb0c2 (patch)
tree9ff058dd9671f847df69a67612b0026a21e5ab24 /src/db.cpp
parentc7075c4b65561e4579fec7f4d821375921f69728 (diff)
downloadbitcoin-c73323eec9fb287af6e2b9e68d0aa3c157fdb0c2.tar.xz
allow listening on -bind=address for blocked networks
- 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" - introduce enum BindFlags to avoid passing multiple bools to Bind() - make -bind help text clear we ALWAYS listen on the specified address - remove an unused variable - remove 2 unneeded IsLimited() checks before calling Bind(), which does these checks anyway - 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
Diffstat (limited to 'src/db.cpp')
0 files changed, 0 insertions, 0 deletions