mirror of
https://github.com/logos-messaging/waku-proto.git
synced 2026-01-05 23:53:11 +00:00
feat(waku2-lightpush): add waku v2 lightpush protocol v2beta1 wire format
This commit is contained in:
parent
d9f98dabce
commit
5c039cdc9d
23
waku/lightpush/v2beta1/lightpush.proto
Normal file
23
waku/lightpush/v2beta1/lightpush.proto
Normal file
@ -0,0 +1,23 @@
|
||||
syntax = "proto3";
|
||||
|
||||
// 19/WAKU2-LIGHTPUSH rfc: https://rfc.vac.dev/spec/19/
|
||||
// Protocol identifier: /vac/waku/lightpush/2.0.0-beta1
|
||||
package waku.lightpush.v2beta1;
|
||||
|
||||
import "waku/message/v1/message.proto";
|
||||
|
||||
message PushRequest {
|
||||
string pubsub_topic = 1;
|
||||
waku.message.v1.WakuMessage message = 2;
|
||||
}
|
||||
|
||||
message PushResponse {
|
||||
bool is_success = 1;
|
||||
optional string info = 2;
|
||||
}
|
||||
|
||||
message PushRpc {
|
||||
string request_id = 1;
|
||||
optional PushRequest request = 2;
|
||||
optional PushResponse response = 3;
|
||||
}
|
||||
@ -1,11 +1,11 @@
|
||||
syntax = "proto3";
|
||||
|
||||
import "waku/message/v1/message.proto";
|
||||
|
||||
// 13/WAKU2-STORE rfc: https://rfc.vac.dev/spec/13/
|
||||
// Protocol identifier: /vac/waku/store/2.0.0-beta4
|
||||
package waku.store.v2beta4;
|
||||
|
||||
import "waku/message/v1/message.proto";
|
||||
|
||||
message Index {
|
||||
bytes digest = 1;
|
||||
sint64 receiver_time = 2;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user