mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-24 04:27:16 +00:00
7554428884
* Splitting sentry and downloader - the beginning * A bit more * More on sentry * More gRPC * Sentry and downloader separated * Update binding for stable version of grpc * Better bufferSize flag * Fix lint * Send pelanties * Fix lint * Remove hard-coded tips on connect * Tidy the logs a bit * Deal with hardTips on Recovery * Print hard tips * Hide empty anchors * Request headers after receiving a message * Better waking up * Print hard-coded block numbers * Print outgoing requests * Debug logging * In the middle protection * Sentry not to lose peers when core disconnects
18 lines
552 B
Go
18 lines
552 B
Go
package main
|
|
|
|
import (
|
|
"github.com/ledgerwatch/turbo-geth/cmd/headers/commands"
|
|
)
|
|
|
|
// generate the messages
|
|
//go:generate protoc --go_out=. "./proto/control.proto" -I=. -I=./../../build/include/google
|
|
//go:generate protoc --go_out=. "./proto/sentry.proto" -I=. -I=./../../build/include/google
|
|
|
|
// generate the services
|
|
//go:generate protoc --go-grpc_out=. "./proto/control.proto" -I=. -I=./../../build/include/google
|
|
//go:generate protoc --go-grpc_out=. "./proto/sentry.proto" -I=. -I=./../../build/include/google
|
|
|
|
func main() {
|
|
commands.Execute()
|
|
}
|