Skip to content
This repository was archived by the owner on Jan 28, 2025. It is now read-only.

Commit 5c039cd

Browse files
author
Lorenzo Delgado
authored
feat(waku2-lightpush): add waku v2 lightpush protocol v2beta1 wire format
1 parent d9f98da commit 5c039cd

File tree

2 files changed

+25
-2
lines changed

2 files changed

+25
-2
lines changed
+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
syntax = "proto3";
2+
3+
// 19/WAKU2-LIGHTPUSH rfc: https://rfc.vac.dev/spec/19/
4+
// Protocol identifier: /vac/waku/lightpush/2.0.0-beta1
5+
package waku.lightpush.v2beta1;
6+
7+
import "waku/message/v1/message.proto";
8+
9+
message PushRequest {
10+
string pubsub_topic = 1;
11+
waku.message.v1.WakuMessage message = 2;
12+
}
13+
14+
message PushResponse {
15+
bool is_success = 1;
16+
optional string info = 2;
17+
}
18+
19+
message PushRpc {
20+
string request_id = 1;
21+
optional PushRequest request = 2;
22+
optional PushResponse response = 3;
23+
}

waku/store/v2beta4/store.proto

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
syntax = "proto3";
22

3-
import "waku/message/v1/message.proto";
4-
53
// 13/WAKU2-STORE rfc: https://rfc.vac.dev/spec/13/
64
// Protocol identifier: /vac/waku/store/2.0.0-beta4
75
package waku.store.v2beta4;
86

7+
import "waku/message/v1/message.proto";
8+
99
message Index {
1010
bytes digest = 1;
1111
sint64 receiver_time = 2;

0 commit comments

Comments
 (0)