You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a message handler, I want to forward certain messages to known initialized peers if the route_handler allows it.
Definition of Done:
Unit tests are updated to include tests that validate message is forwarded to (non-source?) initialized peers for:
wire::Message::ChannelAnnouncement
wire::Message::NodeAnnouncement
wire::Message::ChannelUpdate
Unit tests exist for the negative case as well when route_handler does not allow it.
Tech Discussion:
TODO from the codebase. Similar to the event path, if the route_handler allows it, broadcast the message to all known initialized peers.
Route handler stubs already exist so the testing should be straight forward. A little bit of work to create multiple initialized peers.
Recommend this is done AFTER the unit test work on message handling to get the testing in a better place. Will require a dependency update due to needing an InitializedPeerProvider instead of just the Peer, but should be straight forward.
The text was updated successfully, but these errors were encountered:
As a message handler, I want to forward certain messages to known initialized peers if the route_handler allows it.
Definition of Done:
Tech Discussion:
TODO from the codebase. Similar to the event path, if the route_handler allows it, broadcast the message to all known initialized peers.
Route handler stubs already exist so the testing should be straight forward. A little bit of work to create multiple initialized peers.
Recommend this is done AFTER the unit test work on message handling to get the testing in a better place. Will require a dependency update due to needing an InitializedPeerProvider instead of just the Peer, but should be straight forward.
The text was updated successfully, but these errors were encountered: