-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e58116
commit eef8077
Showing
6 changed files
with
555 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
//go:generate protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative relayer.proto | ||
//go:generate protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative reporting.proto | ||
//go:generate protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative median.proto | ||
//go:generate protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative telemetry.proto | ||
package pb |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
syntax = "proto3"; | ||
|
||
option go_package = "github.com/smartcontractkit/chainlink-relay/pkg/loop/internal/pb"; | ||
|
||
package loop; | ||
|
||
import "google/protobuf/empty.proto"; | ||
|
||
message RelayID { | ||
string network = 1; | ||
string chainId = 2; | ||
} | ||
|
||
message TelemetryMessage { | ||
RelayID relayID = 1; | ||
string contractID = 2; | ||
string telemetryType = 3; | ||
bytes payload = 4; | ||
} | ||
|
||
service Telemetry { | ||
rpc Send(TelemetryMessage) returns (google.protobuf.Empty); | ||
} |
Oops, something went wrong.