code: function RPC(node) {
    if (!(this instanceof RPC))
      return new RPC(node);
  
    RPCBase.call(this);
  
    assert(node, 'RPC requires a Node.');
  
    this.node = node;
    this.network = node.network;
    this.workers = node.workers;
    this.chain = node.chain;
    this.mempool = node.mempool;
    this.pool = node.pool;
    this.fees = node.fees;
    this.miner = node.miner;
    this.logger = node.logger.context('rpc');
  
    this.mining = false;
    this.procLimit = 0;
    this.attempt = null;
    this.lastActivity = 0;
    this.boundChain = false;
    this.nonce1 = 0;
    this.nonce2 = 0;
    this.merkleMap = new Map();
    this.pollers = [];
  
    this.init();
  }
docs: WMCC Core RPC
  @alias module:http.RPC
  @constructor
  @param {Node} node