mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 04:57:17 +00:00
6a1f000cf7
* Remove interfaces * Squashed 'interfaces/' content from commit 0941b0992 git-subtree-dir: interfaces git-subtree-split: 0941b09926db64934ba7dd161fb9ca2a20ba25b8 * Change generation accordingly Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
23 lines
510 B
Protocol Buffer
23 lines
510 B
Protocol Buffer
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 { string bucketName = 1; }
|
|
|
|
message BucketSizeReply { uint64 size = 1; }
|