Please describe the feature you’d like to see added.
Split CConnman in two pieces:
- protocol agnostic low level socket and connection handler and
- bitcoin-p2p protocol specific handler.
This way the code should become more modular and easier to maintain.
Is your feature related to a problem, if so please describe it.
Code has intermixed low level socket handling and P2P logic.
Describe the solution you’d like
Split CConnman in such a way that the code is easier to read and maintain.
Describe any alternatives you’ve considered
Duplicate code.