REFERS TO: #14210
net.h, net.cpp : Removed global flag bool fDiscover
net.h, net.cpp : Added field bool fDiscover = true to struct CConnman.Options
net.h, net.cpp : Added instance variable bool fDiscover and method bool isDiscover() to CConnman class
net.h, net.cpp : Added bool fDiscover to signatures of AddLocal, AdvertiseLocal and IsPeerAddrLocalGood
net.h, net.cpp : ThreadMapPort reads fDiscover from the command line, which defaults to true
test/net_tests.cpp : Test case LocalAddress_BasicLifecycle runs with fDiscovery = true
net_processing.cpp : Made PeerLogicValidation use CConnman.isDiscover()
torcontrol.cpp : Added instance variable bool fDiscover to TorController class
torcontrol.cpp : TorControllerThread reads fDiscover from the command line, which defaults to true
init.h : AppInitMain reads bool fDiscover from the command line and sets CConnman.Option.fDiscovery