16 lines
382 B
Protocol Buffer
16 lines
382 B
Protocol Buffer
syntax = "proto3";
|
|
package scanner;
|
|
|
|
// Empty is for gRPCs that take no arguments, currently only GetInfo.
|
|
message Empty {}
|
|
|
|
service Scanner {
|
|
// Get information about the scanner service.
|
|
rpc GetInfo (Empty) returns (InfoReply);
|
|
}
|
|
|
|
// A response to a GetInfo call.
|
|
message InfoReply {
|
|
// The minimum sapling height allowed.
|
|
uint32 min_sapling_birthday_height = 1;
|
|
} |