code: function PoolOptions(options) {
    if (!(this instanceof PoolOptions))
      return new PoolOptions(options);
  
    this.network = Network.primary;
    this.logger = null;
    this.chain = null;
    this.mempool = null;
  
    this.nonces = new NonceList();
  
    this.prefix = null;
    this.checkpoints = true;
    this.spv = false;
    this.bip37 = false;
    this.listen = false;
    this.compact = true;
    this.noRelay = false;
    this.host = '0.0.0.0';
    this.port = this.network.port;
    this.publicHost = '0.0.0.0';
    this.publicPort = this.network.port;
    this.maxOutbound = 32;
    this.maxInbound = 128;
    this.createSocket = this._createSocket.bind(this);
    this.createServer = tcp.createServer;
    this.resolve = this._resolve.bind(this);
    this.proxy = null;
    this.onion = false;
    this.upnp = false;
    this.selfish = false;
    this.version = common.PROTOCOL_VERSION;
    this.agent = common.USER_AGENT;
    this.bip151 = false;
    this.bip150 = false;
    this.authPeers = [];
    this.knownPeers = {};
    this.identityKey = secp256k1.generatePrivateKey();
    this.banScore = common.BAN_SCORE;
    this.banTime = common.BAN_TIME;
    this.feeRate = -1;
    this.seeds = this.network.seeds;
    this.nodes = [];
    this.invTimeout = 60000;
    this.blockMode = 0;
    this.services = common.LOCAL_SERVICES;
    this.requiredServices = common.REQUIRED_SERVICES;
    this.persistent = false;
  
    this.fromOptions(options);
  }
docs: PoolOptions
  @alias module:net.PoolOptions
  @constructor