code: function BroadcastItem(pool, msg) {
    if (!(this instanceof BroadcastItem))
      return new BroadcastItem(pool, msg);
  
    assert(!msg.mutable, 'Cannot broadcast mutable item.');
  
    const item = msg.toInv();
  
    this.pool = pool;
    this.hash = item.hash;
    this.type = item.type;
    this.msg = msg;
    this.jobs = [];
  }
docs: Represents an item that is broadcasted via an inv/getdata cycle.
  @alias module:net.BroadcastItem
  @constructor
  @private
  @param {Pool} pool
  @param {TX|Block} msg
  @emits BroadcastItem#ack
  @emits BroadcastItem#reject
  @emits BroadcastItem#timeout