Skip to content

Commit e10b365

Browse files
shivhgjorgemmsilva
authored andcommitted
eth/downloader, graphql: fix typos (ethereum#29243)
1 parent a75dbe5 commit e10b365

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

eth/downloader/downloader.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ import (
3939
)
4040

4141
var (
42-
MaxBlockFetch = 128 // Amount of blocks to be fetched per retrieval request
43-
MaxHeaderFetch = 192 // Amount of block headers to be fetched per retrieval request
44-
MaxSkeletonSize = 128 // Number of header fetches to need for a skeleton assembly
45-
MaxReceiptFetch = 256 // Amount of transaction receipts to allow fetching per request
42+
MaxBlockFetch = 128 // Number of blocks to be fetched per retrieval request
43+
MaxHeaderFetch = 192 // Number of block headers to be fetched per retrieval request
44+
MaxSkeletonSize = 128 // Number of header fetches needed for a skeleton assembly
45+
MaxReceiptFetch = 256 // Number of transaction receipts to allow fetching per request
4646

4747
maxQueuedHeaders = 32 * 1024 // [eth/62] Maximum number of headers to queue for import (DOS protection)
4848
maxHeadersProcess = 2048 // Number of header download results to import at once into the chain

graphql/graphql.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1517,7 +1517,7 @@ func (s *SyncState) TxIndexRemainingBlocks() hexutil.Uint64 {
15171517
}
15181518

15191519
// Syncing returns false in case the node is currently not syncing with the network. It can be up-to-date or has not
1520-
// yet received the latest block headers from its pears. In case it is synchronizing:
1520+
// yet received the latest block headers from its peers. In case it is synchronizing:
15211521
// - startingBlock: block number this node started to synchronize from
15221522
// - currentBlock: block number this node is currently importing
15231523
// - highestBlock: block number of the highest block header this node has received from peers

0 commit comments

Comments
 (0)