mirror of
https://github.com/logos-messaging/logos-messaging-js.git
synced 2026-01-14 22:13:09 +00:00
* add proto * add rpc and interfaces * add protocol implementation * update faulty proto def * add rpc and interfaces * refactor implementation & write test * setup the metadata protocol as a service * fix cases where metadata service needs to be undefined * remove redundant catch block * remove addressed TODO * update import path * log errors * remove redundant code from handling incoming metadata request * update tests * add test to check for active connections * change expects * save remote peer's shard info after successful connection
12 lines
214 B
Protocol Buffer
12 lines
214 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
|
|
message WakuMetadataRequest {
|
|
optional uint32 cluster_id = 1;
|
|
repeated uint32 shards = 2;
|
|
}
|
|
|
|
message WakuMetadataResponse {
|
|
optional uint32 cluster_id = 1;
|
|
repeated uint32 shards = 2;
|
|
} |