mirror of https://github.com/oxen-io/lokinet
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.
35 lines
650 B
C++
35 lines
650 B
C++
#include <tooling/router_event.hpp>
|
|
|
|
#include <router_contact.hpp>
|
|
|
|
namespace tooling
|
|
{
|
|
struct RCGossipReceivedEvent : public RouterEvent
|
|
{
|
|
RCGossipReceivedEvent(const llarp::RouterID& routerID, const llarp::RouterContact& rc);
|
|
|
|
std::string
|
|
ToString() const override;
|
|
|
|
std::string
|
|
LongString() const;
|
|
|
|
llarp::RouterContact rc;
|
|
};
|
|
|
|
struct RCGossipSentEvent : public RouterEvent
|
|
{
|
|
RCGossipSentEvent(const llarp::RouterID& routerID, const llarp::RouterContact& rc);
|
|
|
|
std::string
|
|
ToString() const override;
|
|
|
|
std::string
|
|
LongString() const;
|
|
|
|
llarp::RouterContact rc;
|
|
};
|
|
|
|
} // namespace tooling
|
|
|