src/net/packets.js
function PingPacket(nonce) {
  if (!(this instanceof PingPacket))
    return new PingPacket(nonce);

  Packet.call(this);

  this.nonce = nonce || null;
}
function PingPacket(nonce) {
  if (!(this instanceof PingPacket))
    return new PingPacket(nonce);

  Packet.call(this);

  this.nonce = nonce || null;
}
function PingPacket ( nonce ) { if ( ! ( this instanceof PingPacket ) ) return new PingPacket ( nonce ) ; Packet . call ( this ) ; this . nonce = nonce || null ; }
Represents a `ping` packet.
@constructor
@param {BN?} nonce
@property {BN|null} nonce
Represents a ping packet .