n0-computer / beetle

Other
34 stars 15 forks source link

feat(p2p): always connected peers #256

Open dignifiedquire opened 2 years ago

dignifiedquire commented 2 years ago

We should have a set of peers (configurable size) that we store in memory, as main peers. These can be used to send bitswap requests to, as well as improve general connectivity.

dignifiedquire commented 2 years ago
dignifiedquire commented 2 years ago

@mxinden any thoughts/preferences on doing this internal to rust-libp2p vs external? Any plans on reviving sth like an AddressBook again?

mxinden commented 2 years ago

For the record, I will follow up with a design doc incorporating the recent out-of-band discussion.

mxinden commented 2 years ago

@dignifiedquire would you mind following up here?

https://github.com/libp2p/rust-libp2p/discussions/2118#discussioncomment-3134752

mxinden commented 2 years ago

I enumerated 3 proposals in https://github.com/libp2p/rust-libp2p/issues/2824.

mxinden commented 1 year ago

For the sake of completeness, latest work by @thomaseizinger is happening here https://github.com/libp2p/rust-libp2p/pull/3099.

thomaseizinger commented 1 year ago

For the sake of completeness, latest work by @thomaseizinger is happening here https://github.com/libp2p/rust-libp2p/pull/3099.

Actually it is https://github.com/libp2p/rust-libp2p/pull/3254.