Class Ping


public class Ping extends Message

Instances of this class are not safe for use by multiple threads.

  • Constructor Details

    • Ping

      public Ping(NetworkParameters params, byte[] payloadBytes) throws ProtocolException
      Throws:
      ProtocolException
    • Ping

      public Ping(long nonce)
      Create a Ping with a nonce value. Only use this if the remote node has a protocol version greater than 60000
    • Ping

      public Ping()
      Create a Ping without a nonce value. Only use this if the remote node has a protocol version lower than or equal 60000
  • Method Details