Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
manav2401 committed Mar 5, 2024
1 parent 8f6fa04 commit ba0e6f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eth/fetcher/block_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ type headerFilterTask struct {
peer string // The source peer of block headers
headers []*types.Header // Collection of headers to filter
time time.Time // Arrival time of the headers
announcedTime time.Time // Announcement time of the headers
announcedTime time.Time // Announcement time of the availability of the block
}

// bodyFilterTask represents a batch of block bodies (transactions and uncles)
Expand All @@ -127,7 +127,7 @@ type bodyFilterTask struct {
transactions [][]*types.Transaction // Collection of transactions per block bodies
uncles [][]*types.Header // Collection of uncles per block bodies
time time.Time // Arrival time of the blocks' contents
announcedTime time.Time
announcedTime time.Time // Announcement time of the availability of the block
}

// blockOrHeaderInject represents a schedules import operation.
Expand Down

0 comments on commit ba0e6f0

Please sign in to comment.