Skip to content

Commit

Permalink
rpc SetSubscribeExpiry
Browse files Browse the repository at this point in the history
  • Loading branch information
domiwei committed Mar 19, 2024
1 parent 43e494b commit 23bb656
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_sec = 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 23bb656

Please sign in to comment.