diff options
| author | Philip Kaufmann <[email protected]> | 2012-09-03 15:54:47 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2012-11-10 00:29:12 +0100 |
| commit | c73323eec9fb287af6e2b9e68d0aa3c157fdb0c2 (patch) | |
| tree | 9ff058dd9671f847df69a67612b0026a21e5ab24 /src/checkpoints.cpp | |
| parent | Fix tests after cache tweaks (diff) | |
| download | discoin-c73323eec9fb287af6e2b9e68d0aa3c157fdb0c2.tar.xz discoin-c73323eec9fb287af6e2b9e68d0aa3c157fdb0c2.zip | |
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/checkpoints.cpp')
0 files changed, 0 insertions, 0 deletions