- 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
Request: Send Compact Blocks (“sendcmpct”)
This message notifies the peer that this node support Compact Block Relay.
Node should only send this message after protocol version >= 70014.
This message can indicate the High Bandwidth Relaying mode or Low Bandwidth Relaying mode by setting the Mode
field.
Upon receipt of this message from the peer, node should announce new block via cmpctblock
message if Mode = 1
, or node should announce new block via inv
or header
message as defined in BIP-0130.
Format
Field | Length | Format | Description |
---|---|---|---|
Mode | 1 byte | Integer | 1: High Bandwidth Relaying mode; 0: Low Bandwidth Relaying mode; Other: Invalid |
Version | 8 bytes | Integer (LE) | Must set to 1, otherwise invalid. |