You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lokinet/llarp/dht/messages
Stephen Shelton ea835405c5
Refactor NotifyRouterEvent() to forward args, event code cleanup
This template-ifies Router::NotifyRouterEvent() up so that it accepts
the arguments to instantiate the specified event type, forwarding them
to std::make_unique. This would allow (in the future) the function to
no-op the call and avoid memory allocation. It also slightly reduces
the amount of code required to fire an event.

This commit also simplifies some of the RouterEvent code to reduce
redundancy.
5 years ago
..
consensus.hpp
findintro.cpp Make format 5 years ago
findintro.hpp
findrouter.cpp Refactor NotifyRouterEvent() to forward args, event code cleanup 5 years ago
findrouter.hpp
gotintro.cpp Refactor NotifyRouterEvent() to forward args, event code cleanup 5 years ago
gotintro.hpp
gotrouter.cpp Refactor NotifyRouterEvent() to forward args, event code cleanup 5 years ago
gotrouter.hpp
pubintro.cpp Refactor NotifyRouterEvent() to forward args, event code cleanup 5 years ago
pubintro.hpp Require 'From' and 'relayed' in PublishIntroMessage ctor 5 years ago