@@ -129,7 +129,7 @@ type GetBlockHeadersPacket struct {
129
129
Reverse bool // Query direction (false = rising towards latest, true = falling towards genesis)
130
130
}
131
131
132
- // GetBlockHeadersPacket represents a block header query over ETH- 66
132
+ // GetBlockHeadersPacket represents a block header query over eth/ 66
133
133
type GetBlockHeadersPacket66 struct {
134
134
RequestId uint64
135
135
* GetBlockHeadersPacket
@@ -174,7 +174,7 @@ func (hn *HashOrNumber) DecodeRLP(s *rlp.Stream) error {
174
174
// BlockHeadersPacket represents a block header response.
175
175
type BlockHeadersPacket []* types.Header
176
176
177
- // BlockHeadersPacket represents a block header response over ETH- 66.
177
+ // BlockHeadersPacket represents a block header response over eth/ 66.
178
178
type BlockHeadersPacket66 struct {
179
179
RequestId uint64
180
180
BlockHeadersPacket
@@ -202,7 +202,7 @@ func (request *NewBlockPacket) sanityCheck() error {
202
202
// GetBlockBodiesPacket represents a block body query.
203
203
type GetBlockBodiesPacket []common.Hash
204
204
205
- // GetBlockBodiesPacket represents a block body query over ETH- 66.
205
+ // GetBlockBodiesPacket represents a block body query over eth/ 66.
206
206
type GetBlockBodiesPacket66 struct {
207
207
RequestId uint64
208
208
GetBlockBodiesPacket
@@ -216,13 +216,13 @@ type BlockBodiesPacket []*BlockBody
216
216
// roundtrip.
217
217
type BlockBodiesRLPPacket []rlp.RawValue
218
218
219
- // BlockBodiesRLPPacket66 is the BlockBodiesRLPPacket over ETH- 66
219
+ // BlockBodiesRLPPacket66 is the BlockBodiesRLPPacket over eth/ 66
220
220
type BlockBodiesRLPPacket66 struct {
221
221
RequestId uint64
222
222
BlockBodiesRLPPacket
223
223
}
224
224
225
- // BlockBodiesPacket is the network packet for block content distribution over ETH- 66.
225
+ // BlockBodiesPacket is the network packet for block content distribution over eth/ 66.
226
226
type BlockBodiesPacket66 struct {
227
227
RequestId uint64
228
228
BlockBodiesPacket
@@ -250,7 +250,7 @@ func (p *BlockBodiesPacket) Unpack() ([][]*types.Transaction, [][]*types.Header)
250
250
// GetNodeDataPacket represents a trie node data query.
251
251
type GetNodeDataPacket []common.Hash
252
252
253
- // GetNodeDataPacket represents a trie node data query over ETH- 66.
253
+ // GetNodeDataPacket represents a trie node data query over eth/ 66.
254
254
type GetNodeDataPacket66 struct {
255
255
RequestId uint64
256
256
GetNodeDataPacket
@@ -259,7 +259,7 @@ type GetNodeDataPacket66 struct {
259
259
// NodeDataPacket is the network packet for trie node data distribution.
260
260
type NodeDataPacket [][]byte
261
261
262
- // NodeDataPacket is the network packet for trie node data distribution over ETH- 66.
262
+ // NodeDataPacket is the network packet for trie node data distribution over eth/ 66.
263
263
type NodeDataPacket66 struct {
264
264
RequestId uint64
265
265
NodeDataPacket
@@ -268,7 +268,7 @@ type NodeDataPacket66 struct {
268
268
// GetReceiptsPacket represents a block receipts query.
269
269
type GetReceiptsPacket []common.Hash
270
270
271
- // GetReceiptsPacket represents a block receipts query over ETH- 66.
271
+ // GetReceiptsPacket represents a block receipts query over eth/ 66.
272
272
type GetReceiptsPacket66 struct {
273
273
RequestId uint64
274
274
GetReceiptsPacket
@@ -277,7 +277,7 @@ type GetReceiptsPacket66 struct {
277
277
// ReceiptsPacket is the network packet for block receipts distribution.
278
278
type ReceiptsPacket [][]* types.Receipt
279
279
280
- // ReceiptsPacket is the network packet for block receipts distribution over ETH- 66.
280
+ // ReceiptsPacket is the network packet for block receipts distribution over eth/ 66.
281
281
type ReceiptsPacket66 struct {
282
282
RequestId uint64
283
283
ReceiptsPacket
@@ -306,7 +306,7 @@ type GetPooledTransactionsPacket66 struct {
306
306
// PooledTransactionsPacket is the network packet for transaction distribution.
307
307
type PooledTransactionsPacket []* types.Transaction
308
308
309
- // PooledTransactionsPacket is the network packet for transaction distribution over ETH- 66.
309
+ // PooledTransactionsPacket is the network packet for transaction distribution over eth/ 66.
310
310
type PooledTransactionsPacket66 struct {
311
311
RequestId uint64
312
312
PooledTransactionsPacket
@@ -316,7 +316,7 @@ type PooledTransactionsPacket66 struct {
316
316
// in the cases we already have them in rlp-encoded form
317
317
type PooledTransactionsRLPPacket []rlp.RawValue
318
318
319
- // PooledTransactionsRLPPacket66 is the ETH- 66 form of PooledTransactionsRLPPacket
319
+ // PooledTransactionsRLPPacket66 is the eth/ 66 form of PooledTransactionsRLPPacket
320
320
type PooledTransactionsRLPPacket66 struct {
321
321
RequestId uint64
322
322
PooledTransactionsRLPPacket
0 commit comments