Sasha 95da57a870
feat: peer exchange discovery improvements (#2537)
* rename, mark stuff to remove

* rename type

* update exports from discovery package, improve PX implementation

* re-structure px discovery, comment tests

* implement UT, E2E Tests, clean code a bit, implement recurring PX discovery, move DNS E2E Tests to separate folder, remove not needed E2E tests

* fix discovery dialer e2e test

* mark as started

* fix dns tests

* attempt to fix e2e

* skip test

* update tests

* fix typo

* add catch all in stream manager, update tests

* update mock

* update test
2025-08-14 09:47:55 +02:00

11 lines
389 B
TypeScript

import { Tags } from "@waku/interfaces";
// amount of peers available per specification
export const DEFAULT_PEER_EXCHANGE_REQUEST_NODES = 60;
export const DEFAULT_PEER_EXCHANGE_TAG_NAME = Tags.PEER_EXCHANGE;
export const DEFAULT_PEER_EXCHANGE_TAG_VALUE = 50;
export const DEFAULT_PEER_EXCHANGE_TAG_TTL = 30_000;
export const PeerExchangeCodec = "/vac/waku/peer-exchange/2.0.0-alpha1";