Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Relax p2p connection restrictions for non-mainnet #864
Our testnet IP distribution is far from distributed: the 1-connection-per-IP and skipping duplicate class B IPs are more of a nuissance rather than anything useful on testnet.
This turns off both when not on mainnet: the class B checking is disabled, and the connections per IP becomes 20 instead of 1.