startDiscovery -> startScanning, support allowDuplicates option