dcutr: Remove ActionBuilder
#3299
Labels
difficulty:easy
getting-started
Issues that can be tackled if you don't know the internals of libp2p very well
help wanted
In
libp2p-dcutr
we introducedActionBuilder
as events from theConnectionHandler
could not be enriched with the local node's external addresses from theon_*
event handlers. Instead, one had to wait for theNetworkBehaviour::poll
method to access the addresses.rust-libp2p/protocols/dcutr/src/behaviour_impl.rs
Lines 349 to 363 in 68d0f88
Now that #3153 is merged, event handlers have access to the external addresses right away, thus the
ActionBuilder
abstraction is no longer needed. Let's remove it.The text was updated successfully, but these errors were encountered: