You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: standards/core/rendezvous.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,26 +67,25 @@ minimizes the load on rendezvous points.
67
67
### Peer Records
68
68
69
69
Nodes advertise their information through `WakuPeerRecord`, a custom peer record structure designed for Waku rendezvous.
70
+
Since this is a customPeerRecord, it uses a private multicodec value of `0x300000` as per [multicodec table](https://github.com/multiformats/multicodec/blob/master/table.csv).
70
71
The `WakuPeerRecord` is defined as follows:
71
72
72
73
**WakuPeerRecord fields:**
73
74
74
75
-`peer_id`: The libp2p PeerId of the node.
76
+
-`seqNo`: The time at which the record was created or last updated (Unix epoch, seconds).
75
77
-`multiaddrs`: A list of multiaddresses for connectivity.
76
-
-`protocols`: A list of supported protocol codecs (e.g., `/vac/waku/mix/1.0.0`).
77
78
-`mix_public_key`: The Mix protocol public key (only present for nodes supporting Mix).
78
-
-`timestamp`: The time at which the record was created or last updated (Unix epoch, seconds).
79
79
80
80
**Encoding:**
81
81
WakuPeerRecord is encoded as a protobuf message. The exact schema is:
0 commit comments