code: function WalletOptions(options) {
    if (!(this instanceof WalletOptions))
      return new WalletOptions(options);
  
    this.network = Network.primary;
    this.logger = Logger.global;
    this.workers = null;
    this.client = null;
    this.feeRate = 0;
  
    this.prefix = null;
    this.location = null;
    this.db = 'memory';
    this.maxFiles = 64;
    this.cacheSize = 16 << 20;
    this.compression = true;
    this.bufferKeys = layout.binary;
  
    this.spv = false;
    // this.witness = false; cfc
    this.witness = true; // ctl
    this.checkpoints = false;
    this.startHeight = 0;
    this.keepBlocks = this.network.block.keepBlocks;
    this.wipeNoReally = false;
    this.apiKey = null;
    this.walletAuth = false;
    this.noAuth = false;
    this.ssl = false;
    this.host = '127.0.0.1';
    this.port = this.network.rpcPort + 2;
    this.listen = false;
  
    if (options)
      this.fromOptions(options);
  }
docs: WalletOptions
  @alias module:wallet.WalletOptions
  @constructor
  @param {Object} options