code: function ChainOptions(options) {
    if (!(this instanceof ChainOptions))
      return new ChainOptions(options);
  
    this.network = Network.primary;
    this.logger = Logger.global;
    this.workers = null;
  
    this.prefix = null;
    this.location = null;
    this.db = 'memory';
    this.maxFiles = 64;
    this.cacheSize = 32 << 20;
    this.compression = true;
    this.bufferKeys = ChainDB.layout.binary;
  
    this.spv = false;
    this.bip91 = false;
    this.bip148 = false;
    this.prune = false;
    this.indexTX = true;
    this.indexAddress = true;
    this.forceFlags = false;
  
    this.coinCache = 0;
    this.entryCache = 5000;
    this.maxOrphans = 20;
    this.checkpoints = true;
  
    this.blockNotify = null;
    this.subscribeCmd = null;
  
    if (options)
      this.fromOptions(options);
  }
docs: ChainOptions
  @alias module:blockchain.ChainOptions
  @constructor
  @param {Object} options