Added option to add ip/network to api-allow miner