ipfs / kubo

An IPFS implementation in Go
https://docs.ipfs.tech/how-to/command-line-quick-start/
Other
16.14k stars 3.01k forks source link

ConnMgr: Tag top peers peers from the bitswap decision engine #4321

Open Stebalien opened 7 years ago

Stebalien commented 7 years ago

This way, we maintain connections to the peers most likely to have content for us.

michaelavila commented 6 years ago

@Stebalien Have any possible solutions been discussed anywhere? What's the relative difficulty of this issue?

Stebalien commented 6 years ago

This hasn't been thoroughly discussed and I'm not sure of the right direction. One simple thing we can do is tag every peer we've ever received blocks from in Engine.MessageReceived. That'll be a good start and should be trivial.