code: function HostListOptions(options) {
    if (!(this instanceof HostListOptions))
      return new HostListOptions(options);
  
    this.network = Network.primary;
    this.logger = Logger.global;
    this.resolve = dns.lookup;
    this.host = '0.0.0.0';
    this.port = this.network.port;
    this.services = common.LOCAL_SERVICES;
    this.onion = false;
    this.banTime = common.BAN_TIME;
  
    this.address = new NetAddress();
    this.address.services = this.services;
    this.address.time = this.network.now();
  
    this.seeds = this.network.seeds;
    this.nodes = [];
  
    this.maxBuckets = 20;
    this.maxEntries = 50;
  
    this.prefix = null;
    this.filename = null;
    this.persistent = false;
    this.flushInterval = 120000;
  
    if (options)
      this.fromOptions(options);
  }
docs: Host List Options
  @alias module:net.HostListOptions
  @constructor
  @param {Object?} options