Skip to content

Commit

Permalink
Remove GetTickV2
Browse files Browse the repository at this point in the history
  • Loading branch information
LINCKODE committed Sep 10, 2024
1 parent f65e9de commit 4638f16
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
6 changes: 0 additions & 6 deletions protobuff/archive.proto
Original file line number Diff line number Diff line change
Expand Up @@ -320,12 +320,6 @@ message GetTransferTransactionsPerTickRequestV2 {

service ArchiveService {

// General data - To be released at a later date
/*rpc GetTickV2(GetTickRequestV2) returns (GetTickResponseV2) {
option (google.api.http) = {
get: "/v2/ticks/{tick_number}"
};
};*/

// Quorum data
rpc GetTickQuorumDataV2(GetTickRequestV2) returns (GetQuorumTickDataResponse) { // Uses V1 response
Expand Down
7 changes: 0 additions & 7 deletions rpc/v2_endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@ func (s *Server) GetLatestTickV2(ctx context.Context, req *emptypb.Empty) (*prot
return s.GetLatestTick(ctx, req)
}

func (s *Server) GetTickV2(ctx context.Context, req *protobuff.GetTickRequestV2) (*protobuff.GetTickResponseV2, error) {

//TODO: Implement

return nil, status.Errorf(codes.Unimplemented, "Not yet implemented")
}

func (s *Server) GetTickQuorumDataV2(ctx context.Context, req *protobuff.GetTickRequestV2) (*protobuff.GetQuorumTickDataResponse, error) {
return s.GetQuorumTickData(ctx, &protobuff.GetQuorumTickDataRequest{
TickNumber: req.TickNumber,
Expand Down

0 comments on commit 4638f16

Please sign in to comment.