[#787] proto: Add VUB field for IR service

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2023-11-07 16:44:43 +03:00
parent 78cfb6aea8
commit bdfa523487
3 changed files with 21 additions and 6 deletions

Binary file not shown.

View file

@ -21,8 +21,7 @@ service ControlService {
// Health check request. // Health check request.
message HealthCheckRequest { message HealthCheckRequest {
// Health check request body. // Health check request body.
message Body { message Body {}
}
// Body of health check request message. // Body of health check request message.
Body body = 1; Body body = 1;
@ -49,14 +48,20 @@ message HealthCheckResponse {
} }
message TickEpochRequest { message TickEpochRequest {
message Body{} message Body{
// Valid until block value override.
uint32 vub = 1;
}
Body body = 1; Body body = 1;
Signature signature = 2; Signature signature = 2;
} }
message TickEpochResponse { message TickEpochResponse {
message Body{} message Body{
// Valid until block value for transaction.
uint32 vub = 1;
}
Body body = 1; Body body = 1;
Signature signature = 2; Signature signature = 2;
@ -65,6 +70,8 @@ message TickEpochResponse {
message RemoveNodeRequest { message RemoveNodeRequest {
message Body{ message Body{
bytes key = 1; bytes key = 1;
// Valid until block value override.
uint32 vub = 2;
} }
Body body = 1; Body body = 1;
@ -72,7 +79,10 @@ message RemoveNodeRequest {
} }
message RemoveNodeResponse { message RemoveNodeResponse {
message Body{} message Body{
// Valid until block value for transaction.
uint32 vub = 1;
}
Body body = 1; Body body = 1;
Signature signature = 2; Signature signature = 2;
@ -82,6 +92,8 @@ message RemoveContainerRequest {
message Body{ message Body{
bytes container_id = 1; bytes container_id = 1;
bytes owner = 2; bytes owner = 2;
// Valid until block value override.
uint32 vub = 3;
} }
Body body = 1; Body body = 1;
@ -89,7 +101,10 @@ message RemoveContainerRequest {
} }
message RemoveContainerResponse { message RemoveContainerResponse {
message Body{} message Body{
// Valid until block value for transaction.
uint32 vub = 1;
}
Body body = 1; Body body = 1;
Signature signature = 2; Signature signature = 2;

Binary file not shown.