code: function RPC(wdb) {
    if (!(this instanceof RPC))
      return new RPC(wdb);
  
    RPCBase.call(this);
  
    assert(wdb, 'RPC requires a WalletDB.');
  
    this.wdb = wdb;
    this.network = wdb.network;
    this.logger = wdb.logger.context('rpc');
    this.client = wdb.client;
  
    this.wallet = null;
  
    this.init();
  }
docs: WMCC Core RPC
  @alias module:wallet.RPC
  @constructor
  @param {WalletDB} wdb