@@ -185,7 +185,7 @@ func (hn *HashOrNumber) DecodeRLP(s *rlp.Stream) error {
185185// BlockHeadersPacket represents a block header response.
186186type BlockHeadersPacket []* types.Header
187187
188- // BlockHeadersPacket represents a block header response over eth/66.
188+ // BlockHeadersPacket66 represents a block header response over eth/66.
189189type BlockHeadersPacket66 struct {
190190 RequestId uint64
191191 BlockHeadersPacket
@@ -195,7 +195,7 @@ type BlockHeadersPacket66 struct {
195195// have the headers rlp encoded.
196196type BlockHeadersRLPPacket []rlp.RawValue
197197
198- // BlockHeadersPacket represents a block header response over eth/66.
198+ // BlockHeadersRLPPacket66 represents a block header response over eth/66.
199199type BlockHeadersRLPPacket66 struct {
200200 RequestId uint64
201201 BlockHeadersRLPPacket
@@ -223,7 +223,7 @@ func (request *NewBlockPacket) sanityCheck() error {
223223// GetBlockBodiesPacket represents a block body query.
224224type GetBlockBodiesPacket []common.Hash
225225
226- // GetBlockBodiesPacket represents a block body query over eth/66.
226+ // GetBlockBodiesPacket66 represents a block body query over eth/66.
227227type GetBlockBodiesPacket66 struct {
228228 RequestId uint64
229229 GetBlockBodiesPacket
@@ -232,7 +232,7 @@ type GetBlockBodiesPacket66 struct {
232232// BlockBodiesPacket is the network packet for block content distribution.
233233type BlockBodiesPacket []* BlockBody
234234
235- // BlockBodiesPacket is the network packet for block content distribution over eth/66.
235+ // BlockBodiesPacket66 is the network packet for block content distribution over eth/66.
236236type BlockBodiesPacket66 struct {
237237 RequestId uint64
238238 BlockBodiesPacket
@@ -271,7 +271,7 @@ func (p *BlockBodiesPacket) Unpack() ([][]*types.Transaction, [][]*types.Header)
271271// GetNodeDataPacket represents a trie node data query.
272272type GetNodeDataPacket []common.Hash
273273
274- // GetNodeDataPacket represents a trie node data query over eth/66.
274+ // GetNodeDataPacket66 represents a trie node data query over eth/66.
275275type GetNodeDataPacket66 struct {
276276 RequestId uint64
277277 GetNodeDataPacket
@@ -280,7 +280,7 @@ type GetNodeDataPacket66 struct {
280280// NodeDataPacket is the network packet for trie node data distribution.
281281type NodeDataPacket [][]byte
282282
283- // NodeDataPacket is the network packet for trie node data distribution over eth/66.
283+ // NodeDataPacket66 is the network packet for trie node data distribution over eth/66.
284284type NodeDataPacket66 struct {
285285 RequestId uint64
286286 NodeDataPacket
@@ -289,7 +289,7 @@ type NodeDataPacket66 struct {
289289// GetReceiptsPacket represents a block receipts query.
290290type GetReceiptsPacket []common.Hash
291291
292- // GetReceiptsPacket represents a block receipts query over eth/66.
292+ // GetReceiptsPacket66 represents a block receipts query over eth/66.
293293type GetReceiptsPacket66 struct {
294294 RequestId uint64
295295 GetReceiptsPacket
@@ -298,7 +298,7 @@ type GetReceiptsPacket66 struct {
298298// ReceiptsPacket is the network packet for block receipts distribution.
299299type ReceiptsPacket [][]* types.Receipt
300300
301- // ReceiptsPacket is the network packet for block receipts distribution over eth/66.
301+ // ReceiptsPacket66 is the network packet for block receipts distribution over eth/66.
302302type ReceiptsPacket66 struct {
303303 RequestId uint64
304304 ReceiptsPacket
@@ -307,7 +307,7 @@ type ReceiptsPacket66 struct {
307307// ReceiptsRLPPacket is used for receipts, when we already have it encoded
308308type ReceiptsRLPPacket []rlp.RawValue
309309
310- // ReceiptsPacket66 is the eth-66 version of ReceiptsRLPPacket
310+ // ReceiptsRLPPacket66 is the eth-66 version of ReceiptsRLPPacket
311311type ReceiptsRLPPacket66 struct {
312312 RequestId uint64
313313 ReceiptsRLPPacket
@@ -327,13 +327,13 @@ type GetPooledTransactionsPacket66 struct {
327327// PooledTransactionsPacket is the network packet for transaction distribution.
328328type PooledTransactionsPacket []* types.Transaction
329329
330- // PooledTransactionsPacket is the network packet for transaction distribution over eth/66.
330+ // PooledTransactionsPacket66 is the network packet for transaction distribution over eth/66.
331331type PooledTransactionsPacket66 struct {
332332 RequestId uint64
333333 PooledTransactionsPacket
334334}
335335
336- // PooledTransactionsPacket is the network packet for transaction distribution, used
336+ // PooledTransactionsRLPPacket is the network packet for transaction distribution, used
337337// in the cases we already have them in rlp-encoded form
338338type PooledTransactionsRLPPacket []rlp.RawValue
339339
0 commit comments