File tree Expand file tree Collapse file tree 4 files changed +0
-21
lines changed Expand file tree Collapse file tree 4 files changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -4,17 +4,6 @@ import "auth.proto";
4
4
// this protocol defines how Hivemind nodes form a distributed hash table.
5
5
// For more info, see https://learning-at-home.readthedocs.io/en/latest/modules/dht.html or help(hivemind.dht.DHTNode)
6
6
7
- service DHT {
8
- // find out recipient's DHTID and possibly update its routing table
9
- rpc rpc_ping (PingRequest ) returns (PingResponse );
10
-
11
- // request a node to store one or multiple data items (key - value - expiration)
12
- rpc rpc_store (StoreRequest ) returns (StoreResponse );
13
-
14
- // for given keys, request values (if stored) or a list of peers that are likely to have them
15
- rpc rpc_find (FindRequest ) returns (FindResponse );
16
- }
17
-
18
7
message NodeInfo {
19
8
// note: both node_id and port are optional: if specified, ask peer to add you to its routing table;
20
9
// if either node_id or port is absent, simply request recipient info (for client-only mode)
Original file line number Diff line number Diff line change 1
1
syntax = "proto3" ;
2
2
3
3
4
- service ConnectionHandler {
5
- // Listens to incoming requests for expert computation
6
- rpc info (ExpertUID ) returns (ExpertInfo );
7
- rpc forward (ExpertRequest ) returns (ExpertResponse );
8
- rpc backward (ExpertRequest ) returns (ExpertResponse );
9
- }
10
-
11
-
12
4
message ExpertUID {
13
5
string uid = 1 ;
14
6
}
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ prefetch_generator>=1.0.1
6
6
msgpack >= 0.5.6
7
7
sortedcontainers
8
8
uvloop >= 0.14.0
9
- grpcio >= 1.33.2
10
9
grpcio-tools >= 1.33.2
11
10
protobuf >= 3.12.2
12
11
configargparse >= 1.2.3
Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ def proto_compile(output_path):
41
41
"grpc_tools.protoc" ,
42
42
"--proto_path=hivemind/proto" ,
43
43
f"--python_out={ output_path } " ,
44
- f"--grpc_python_out={ output_path } " ,
45
44
] + glob .glob ("hivemind/proto/*.proto" )
46
45
47
46
code = grpc_tools .protoc .main (cli_args )
You can’t perform that action at this time.
0 commit comments