mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-25 06:55:32 +01:00
Merge #10446: net: avoid extra dns query per seed
c1be285chainparams: make supported service bits option explicit (Cory Fields)d5c7c1cnet: use an internal address for fixed seeds (Cory Fields)6cdc488net: switch to dummy internal ip for dns seed source (Cory Fields)6d0bd5bnet: do not allow resolving to an internal address (Cory Fields)7f31762net: add an internal subnet for representing unresolved hostnames (Cory Fields) Tree-SHA512: 9bf1042bef546ac3ef0e0d3a9a5555eb21628ff2674a0cf8c6367194b22bfdab477adf452c0e7c56f44e0fb37debc5e14bdb623452e076fb9c492c7702601d7a
This commit is contained in:
@@ -397,7 +397,7 @@ static UniValue GetNetworksInfo()
|
||||
for(int n=0; n<NET_MAX; ++n)
|
||||
{
|
||||
enum Network network = static_cast<enum Network>(n);
|
||||
if(network == NET_UNROUTABLE)
|
||||
if(network == NET_UNROUTABLE || network == NET_INTERNAL)
|
||||
continue;
|
||||
proxyType proxy;
|
||||
UniValue obj(UniValue::VOBJ);
|
||||
|
||||
Reference in New Issue
Block a user