Skip to content

Commit e14f76c

Browse files
committed
aligning with implementation
1 parent 5953ca3 commit e14f76c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

standards/core/rendezvous.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,26 +67,25 @@ minimizes the load on rendezvous points.
6767
### Peer Records
6868

6969
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).
7071
The `WakuPeerRecord` is defined as follows:
7172

7273
**WakuPeerRecord fields:**
7374

7475
- `peer_id`: The libp2p PeerId of the node.
76+
- `seqNo`: The time at which the record was created or last updated (Unix epoch, seconds).
7577
- `multiaddrs`: A list of multiaddresses for connectivity.
76-
- `protocols`: A list of supported protocol codecs (e.g., `/vac/waku/mix/1.0.0`).
7778
- `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).
7979

8080
**Encoding:**
8181
WakuPeerRecord is encoded as a protobuf message. The exact schema is:
8282

8383
```protobuf
8484
message WakuPeerRecord {
8585
string peer_id = 1;
86-
repeated string multiaddrs = 2;
87-
repeated string protocols = 3;
86+
uint64 seqNo = 2;
87+
repeated string multiaddrs = 3;
8888
optional bytes mix_public_key = 4;
89-
uint64 timestamp = 5;
9089
}
9190
```
9291

0 commit comments

Comments
 (0)