Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Add WakuMetadata to TWN #624

Merged
merged 3 commits into from
Oct 4, 2023
Merged

Add WakuMetadata to TWN #624

merged 3 commits into from
Oct 4, 2023

Conversation

alrevuelta
Copy link
Contributor

Add WakuMetadata to TWN

Add WakuMetadata to TWN
Copy link
Contributor

@jm-clius jm-clius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Minor suggestion below.

inbound/outbound peer that attempts to connect supports. In any of the following cases, the node MUST trigger a disconnection:
* [WAKU-METADATA](https://rfc.vac.dev/spec/66/) dial fails.
* [WAKU-METADATA](https://rfc.vac.dev/spec/66/) reports an empty `<cluster_id>`.
* [WAKU-METADATA](https://rfc.vac.dev/spec/66/) reports different `<cluster_id>` than the local one.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since for TWN cluster_id can only be 1, perhaps we can be explicit here and simply say something like:

reports <cluster_id> different than 1.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indeed, fixed!
3b4ee7e

@alrevuelta alrevuelta merged commit b4b95b6 into master Oct 4, 2023
@alrevuelta alrevuelta deleted the add-metadata-wnetw branch October 4, 2023 10:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants