Files
specification/protocol/network/messages/ping.md
T

18 lines
618 B
Markdown
Raw Normal View History

2020-02-06 12:37:37 -05:00
<div class="cwikmeta" style="visibility:hidden;">
{
"title":"PING",
2020-02-06 18:24:36 -05:00
"related":["/protocol/network/messages/pong.md"]
2020-02-06 12:37:37 -05:00
} </div>
2020-02-06 18:24:36 -05:00
# Request: Ping ("ping")
2020-02-06 12:37:37 -05:00
Connection keep-alive, "aliveness" and latency discovery.
2020-02-06 18:24:36 -05:00
If a node receives a PING message, it replies as quickly as possible with a [PONG](/protocol/network/messages/pong.md) message with the provided *nonce*.
2020-02-06 12:37:37 -05:00
2020-02-06 18:24:36 -05:00
## Message Format
| Field | Length | Format | Description |
|--|--|--|--|
| nonce | 8 bytes | unsigned 64 bit integer<sup>[(LE)](/protocol/misc/endian/little.md)</sup> | An arbitrary value provided to connect the ping message with the pong reply