Skip to content

Commit

Permalink
polygon/p2p: implement download headers (#9399)
Browse files Browse the repository at this point in the history
  • Loading branch information
taratorio authored Feb 19, 2024
1 parent eeec929 commit 6b39197
Show file tree
Hide file tree
Showing 19 changed files with 1,387 additions and 208 deletions.
1 change: 1 addition & 0 deletions erigon-lib/direct/sentry_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ var ProtoIds = map[uint]map[sentry.MessageId]struct{}{
},
}

//go:generate mockgen -destination=./sentry_client_mock.go -package=direct . SentryClient
type SentryClient interface {
sentry.SentryClient
Protocol() uint
Expand Down
379 changes: 379 additions & 0 deletions erigon-lib/direct/sentry_client_mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6b39197

Please sign in to comment.