forest icon indicating copy to clipboard operation
forest copied to clipboard

Refactor manual `libp2p::NetworkBehaviour` trait implementations into async functions

Open hanabi1224 opened this issue 2 years ago • 0 comments

Issue summary

Currently, we have manual libp2p::NetworkBehaviour implementations for HelloBehaviour, ChainExchangeBehaviour, and DiscoveryBehaviour, for better readability, we could

  • [ ] Evaluate and refactor impl NetworkBehaviour for HelloBehaviour into async function
  • [ ] Evaluate and refactor impl NetworkBehaviour for ChainExchangeBehaviour into async function
  • [ ] Evaluate and refactor impl NetworkBehaviour for DiscoveryBehaviour into async function

Other information and links

hanabi1224 avatar Nov 01 '23 06:11 hanabi1224