- Bitcoin & Blockchain/
- BCH Specification/
- Protocol Upgrades/
- P2P Network
- Connect Handshake
- Address
- Block
- BlockTXN
- CompactBlock
- DSProof
- FilterAdd
- FilterClear
- FilterFee
- FilterLoad
- Get Addrsses
- GetBlocks
- GetBlockTXN
- GetData
- GetHeaders
- Headers
- Inventory
- Mempool
- Merkleblock
- NotFound
- Ping
- Pong
- Reject
- Send Compact CTL
- SendHeaders
- SPV
- SPV Bloom Filter
- Strings Encoding
- TX
- VerAck
- Version
Bitcoin Cash Specification
Response: Addresses (“addr”)
Provide information about other prospective P2P protocol peers. Peers SHOULD not send this message unsolicited (see getaddr
), and nodes that receive an unsolicited addr
message MUST ignore it. This behavior helps prevent eclipse and partitioning attacks by not allowing an attacker to aggressively seed peer connection tables with its own nodes.
Message Format
Field | Length | Format | Description |
---|---|---|---|
peer count | variable | variable length integer | The number of peers whose connection information is being sent in this message. |
peer network addresses | peer_count * 30 |
peer_count network addresses |
The peer information for each of the peers being transmitted. |