erigon-pulse/cmd/headers/main.go
ledgerwatch 97a03a1ad7
[WIP] add interfaces subtree and switch headers POC to using shared proto files (#1315)
* Squashed 'interfaces/' content from commit c4e14d6dc

git-subtree-dir: interfaces
git-subtree-split: c4e14d6dc80a157c60acd42f0152d631d250601e

* Squashed 'interfaces/' changes from c4e14d6dc..84c5faa5f

84c5faa5f Update README.md
07db484a1 Update README.md
ea14fa4e3 Update README.md

git-subtree-dir: interfaces
git-subtree-split: 84c5faa5f956ea52119911f39ac5864b282dcec2

* Change proto paths

* Squashed 'interfaces/' changes from 84c5faa5f..eb9859d41

eb9859d41 Correct syntax
ae78fe955 Add go package

git-subtree-dir: interfaces
git-subtree-split: eb9859d4157351fac3b8bd2f477307a09978e6df

* Switch to shared proto files

* Fix generation

* Remove duplicate files

* Init hard-coded tips when not recovering

* Only check initiation when extending up
2020-10-29 16:38:46 +00:00

14 lines
427 B
Go

package main
import (
"github.com/ledgerwatch/turbo-geth/cmd/headers/commands"
)
// generate the messages
//go:generate protoc --proto_path=../../interfaces/p2psentry --go_out=. --go-grpc_out=. "control.proto" -I=. -I=./../../build/include/google
//go:generate protoc --proto_path=../../interfaces/p2psentry --go_out=. --go-grpc_out=. "sentry.proto" -I=. -I=./../../build/include/google
func main() {
commands.Execute()
}