ChainSafe / ChainSafe/forest

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

Open
#3,648 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.