code: function HostList(options) {
    if (!(this instanceof HostList))
      return new HostList(options);
  
    this.options = new HostListOptions(options);
    this.network = this.options.network;
    this.logger = this.options.logger.context('hostlist');
    this.address = this.options.address;
    this.resolve = this.options.resolve;
  
    this.dnsSeeds = [];
    this.dnsNodes = [];
  
    this.map = new Map();
    this.fresh = [];
    this.totalFresh = 0;
    this.used = [];
    this.totalUsed = 0;
    this.nodes = [];
    this.local = new Map();
    this.banned = new Map();
  
    this.timer = null;
    this.needsFlush = false;
  
    this._init();
  }
docs: Host List
  @alias module:net.HostList
  @constructor
  @param {Object} options