Skip to content

Commit

Permalink
minor rename
Browse files Browse the repository at this point in the history
  • Loading branch information
arya2 committed Jan 22, 2024
1 parent 1dabaae commit a3023bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion zebra-grpc/proto/service.proto
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
syntax = "proto3";
package zebra.scan.grpc;
package zebra.scan.rpc;

service ZebraScanRpc {
rpc Scan (ScanRequest) returns (stream ScanResponse);
}

// TODO: Move message types for each method into its own proto file?
message ScanRequest {
// A set of key hashes for authorizing access to cached viewing keys
repeated string key_hashes = 1;
Expand Down
2 changes: 1 addition & 1 deletion zebra-grpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

/// Tonic-generated traits and types
pub mod zebra_scan_service {
tonic::include_proto!("zebra.scan.grpc"); // The string specified here must match the proto package name
tonic::include_proto!("zebra.scan.rpc"); // The string specified here must match the proto package name
}

mod auth;
Expand Down

0 comments on commit a3023bc

Please sign in to comment.