Extend NetworkBehaviour to directly share Swarm states
#6012
Replies: 3 comments 11 replies
-
|
What would be the motivation for this if you dont mind me asking? |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for starting this discussion DrHuang.
yup, we have noticed this, specially for connected peers, each |
Beta Was this translation helpful? Give feedback.
-
|
Is |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to introduce a method, let's call it
poll_with_swarm_state, to share states betweenSwarmand behaviours?SwarmState<'_>can contain information likeSwarm::connected_peers()Swarm::listeners(), etc. Or even share the intergrated peer store.Beta Was this translation helpful? Give feedback.
All reactions