Skip to content

Commit

Permalink
remove wrong files
Browse files Browse the repository at this point in the history
  • Loading branch information
canepat committed Jun 24, 2024
1 parent b2b978e commit 6a9f0f4
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 145 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ Task<Version> DirectService::version() {
co_return kCurrentVersion;
}

// rpc Tx(stream Cursor) returns (stream Pair);
Task<std::unique_ptr<db::kv::api::Transaction>> DirectService::begin_transaction() {
// TODO(canepat) implement
co_return nullptr;
}

/** Temporal Point Queries **/

// rpc HistoryGet(HistoryGetReq) returns (HistoryGetReply);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ class DirectService : public Service {
// rpc Version(google.protobuf.Empty) returns (types.VersionReply);
Task<Version> version() override;

// rpc Tx(stream Cursor) returns (stream Pair);
Task<std::unique_ptr<db::kv::api::Transaction>> begin_transaction() override;

/** Temporal Point Queries **/

// rpc HistoryGet(HistoryGetReq) returns (HistoryGetReply);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ struct Service {
// rpc Version(google.protobuf.Empty) returns (types.VersionReply);
virtual Task<Version> version() = 0;

// rpc Tx(stream Cursor) returns (stream Pair);
virtual Task<std::unique_ptr<db::kv::api::Transaction>> begin_transaction() = 0;

/** Temporal Point Queries **/

// rpc HistoryGet(HistoryGetReq) returns (HistoryGetReply);
Expand Down
29 changes: 0 additions & 29 deletions silkworm/db/kv/grpc/client/iterator.cpp

This file was deleted.

116 changes: 0 additions & 116 deletions silkworm/db/kv/grpc/client/iterator.hpp

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ class RemoteClientImpl final : public api::Service {
co_return api::kCurrentVersion;
}

// rpc Tx(stream Cursor) returns (stream Pair);
Task<std::unique_ptr<db::kv::api::Transaction>> begin_transaction() override {
// TODO(canepat) implement
co_return nullptr;
}

/** Temporal Point Queries **/

// rpc HistoryGet(HistoryGetReq) returns (HistoryGetReply);
Expand Down

0 comments on commit 6a9f0f4

Please sign in to comment.