Class: Reth::ETHProtocol::NewBlockHashes
- Inherits:
-
DEVp2p::Command
- Object
- DEVp2p::Command
- Reth::ETHProtocol::NewBlockHashes
- Defined in:
- lib/reth/eth_protocol.rb
Overview
Specify one or more new blocks which have appeared on the network.
The list may contain 256 hashes at most. To be maximally helpful, nodes should inform peers of all blocks that they may not be aware of.
Including hashes that the sending peer could reasonably be considered to know (due to the fact they were previously informed of because that node has itself advertised knowledge of the hashes through NewBlockHashes) is considered Bad Form, and may reduce the reputation of the sending node.
Including hashes that the sending node later refuses to honour with a proceeding GetBlocks message is considered Bad Form, and may reduce the reputation of the sending node.