erigon-pulse/ethdb/remote/db.proto

30 lines
519 B
Protocol Buffer
Raw Normal View History

2020-07-29 04:31:46 +00:00
syntax = "proto3";
package remote;
option go_package = "./remote;remote";
option java_multiple_files = true;
option java_package = "io.turbo-geth.db";
option java_outer_classname = "DB";
// Provides methods about database
service DB {
rpc Size(SizeRequest) returns (SizeReply);
rpc BucketSize(BucketSizeRequest) returns (BucketSizeReply);
}
message SizeRequest {
}
message SizeReply {
uint64 size = 1;
}
message BucketSizeRequest {
2020-08-10 23:55:32 +00:00
string bucketName = 1;
2020-07-29 04:31:46 +00:00
}
message BucketSizeReply {
uint64 size = 1;
}