Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
Giulio2002 committed Mar 19, 2024
1 parent 530813f commit 7c8520c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions execution/execution.proto
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ message FrozenBlocksResponse {
uint64 frozen_blocks = 1;
}

message HasBlockResponse {
bool has_block = 1;
}

service Execution {
// Chain Putters.
rpc InsertBlocks(InsertBlocksRequest) returns(InsertionResult);
Expand All @@ -184,6 +188,7 @@ service Execution {
rpc GetTD(GetSegmentRequest) returns(GetTDResponse);
rpc GetHeader(GetSegmentRequest) returns(GetHeaderResponse);
rpc GetBody(GetSegmentRequest) returns(GetBodyResponse);
rpc HasBlock(GetSegmentRequest) returns(HasBlockResponse);
// Ranges
rpc GetBodiesByRange(GetBodiesByRangeRequest) returns(GetBodiesBatchResponse);
rpc GetBodiesByHashes(GetBodiesByHashesRequest) returns(GetBodiesBatchResponse);
Expand Down

0 comments on commit 7c8520c

Please sign in to comment.