arj03 / ssb-browser-demo

A secure scuttlebutt client interface running in the browser
Other
58 stars 11 forks source link

Discover pubs through others #105

Closed KyleMaas closed 3 years ago

KyleMaas commented 3 years ago

It would be nice if we could discover other pubs through the follow graph to suggest them as possible connections under the Connections tab. This will likely need to wait until we can control how many hops we're replicating.

KyleMaas commented 3 years ago

AFAICT, it looks like the new (2.0 series of db2 branch - more likely to actually work properly) versions of ssb-conn will support this if we want to turn on the configuration option:

https://github.com/staltz/ssb-conn/blob/4b1808772ab25ec2ebbc639c200b700f5aeaa63f/src/conn-scheduler.ts#L398

arj03 commented 3 years ago

I disabled the pub discovery on purpose because frankly not a lot of pubs support web sockets.

KyleMaas commented 3 years ago

Fair enough.