Skip to content
Developer Handbook

Blockchain, P2P and zero-conf

Request: Ping ("ping")

On this page
{ "title":"PING", "related":["/protocol/network/messages/pong.md.html"] }

Connection keep-alive, "aliveness" and latency discovery.

If a node receives a ping message, it replies as quickly as possible with a pong message with the provided nonce.

Message Format

Field Length Format Description
nonce 8 bytes unsigned 64 bit integer(LE) An arbitrary value provided to connect the ping message with the pong reply.
Source and attribution

Documentation.cash (source repository) · Reference.cash (source repository)
Software Verde, Bitcoin Unlimited and the project contributors. Collection license CC BY 3.0 US. Individual notices are retained.
Source snapshot from November 29, 2026. BCH Ninja combined the community editions and updated navigation.