Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message sink interface #3364

Merged
merged 3 commits into from
Jul 3, 2021
Merged

Message sink interface #3364

merged 3 commits into from
Jul 3, 2021

Conversation

clemahieu
Copy link
Contributor

This change is an application of dependency injection to remove coupling between the tcp_channels and udp_channels classes and the network class. An interface called message_sink has been created and an implementation that forwards network message matching existing behavior has been put it its place.

@zhyatt zhyatt added this to the V23.0 milestone Jul 1, 2021
…ing between the tcp_channels and udp_channels classes and the network class. An interface called message_sink has been created and an implementation that forwards network message matching existing behavior has been put it its place.
nano/node/network.cpp Outdated Show resolved Hide resolved
nano/node/network.hpp Outdated Show resolved Hide resolved
@thsfs thsfs self-requested a review July 2, 2021 11:37
@clemahieu clemahieu merged commit f594d0b into develop Jul 3, 2021
@zhyatt zhyatt deleted the message_sink branch October 1, 2021 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants