ChainSafe / js-libp2p-gossipsub

TypeScript implementation of Gossipsub
Apache License 2.0
151 stars 43 forks source link

feat: add runOnTransientConnection option to pass to registrar #485

Closed achingbrain closed 9 months ago

achingbrain commented 9 months ago

Adds an option to allow running gossipsub over transient (e.g. relayed) connections.

By default this is not allowed since transient connections are by design data/time limited and breaching those limits can cause the connection to be closed abruptly, but sometimes people control the relay servers and disable the limits so allow them to use gossipsub over relayed connections if they choose.