Refactor manual `libp2p::NetworkBehaviour` trait implementations into async functions
Open
Priority: 4 - Low
Type: Enhancement
- Dominant language
- Rust
- Stars
- 697
- Forks
- 200
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 65
Description
**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**
Contributor guide
Assessment
This issue has not been assessed yet.