pong

The pong message replies to a ping message, proving to the pinging node that the ponging node is still alive. unit-e will, by default, disconnect from any clients which have not responded to a “ping” message within 20 minutes.

To allow nodes to keep track of latency, the “pong” message sends back the same nonce received in the “ping” message it is replying to.

The format of the “pong” message is identical to the “ping” message; only the message header differs.

Name

Data Type

Bytes

Description

nonce

uint64

8

Random nonce assigned to this “ping” message. The responding “pong” message will include this nonce to identify the “ping” message to which it is replying. See BIP-31 for details.