Thomas Eizinger
Thomas Eizinger
> I've been discussin with @dapplion about the best way to get the signed peer records into gossipsub. The main source comes from the rendezvous protocol. They are also used...
I don't think there is any pressure in implementing it? Happy to let this rest for a bit longer until demand arises.
> I find I keep implementing this thing because the one on crates.io is not very good. What is your concern? We use it for identify but I haven't looked...
> Correct me if im wrong but should we only poll the timer if `Behaviour::bootstrap` is successfully called? Why? In order to maintain a healthy routing table, `bootstrap` should be...
> In fact, I am wondering if we perhaps shouldn't remove the public `bootstrap` method entirely in favor of the configuration option to do it internally? cc @mxinden
> > Why? In order to maintain a healthy routing table, `bootstrap` should be called regularly. I don't think there is a reason to wait for the user call it....
To quote @mxinden from an earlier conversation: A bootstrap is just a query. If you want to fire a query asap on startup, fire it. A bootstrap just fills up...
Thank you for the input @stormshield-frb ! Whilst interesting, I am not sure we need an elaborate algorithm like this as a default. If we keep the current `bootstrap` method...
> > Something that we'd have to think about is: When a node starts up, it doesn't have any connections yet. Thus, we should probably delay the very first bootstrap...
> Should be try an other bootstrap right after ? On the next connection yeah. > In my opinion, this situation conforms precisely to the recommended practices of using exponential...