Skip to content

Commit

Permalink
rpc SetSubscribeExpiry (#212)
Browse files Browse the repository at this point in the history
* rpc SetSubscribeExpiry

* update
  • Loading branch information
domiwei authored Mar 20, 2024
1 parent ff1a8fb commit b57f057
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions p2psentinel/sentinel.proto
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,13 @@ message IdentityResponse {
Metadata metadata = 5;
}

message RequestSubscribeExpiry {
string topic = 1;
uint64 expiry_unix_secs = 2;
}

service Sentinel {
rpc SetSubscribeExpiry(RequestSubscribeExpiry) returns(EmptyMessage);
rpc SubscribeGossip(SubscriptionData) returns (stream GossipData);
rpc SendRequest(RequestData) returns (ResponseData);
rpc SetStatus(Status) returns(EmptyMessage); // Set status for peer filtering.
Expand Down

0 comments on commit b57f057

Please sign in to comment.