Message metadata for tracking and deduplication. More...
#include <gossipsub.h>
Public Member Functions | |
| MessageMetadata (const std::string &id, const std::string &t, const std::string &sender) | |
Public Attributes | |
| std::string | message_id |
| std::string | topic |
| std::string | sender_peer_id |
| std::chrono::steady_clock::time_point | first_seen |
| std::chrono::steady_clock::time_point | last_seen |
| std::vector< std::string > | seen_from_peers |
| int | hop_count |
| bool | validated |
Message metadata for tracking and deduplication.
Definition at line 40 of file gossipsub.h.
|
inline |
Definition at line 50 of file gossipsub.h.
| std::chrono::steady_clock::time_point librats::MessageMetadata::first_seen |
Definition at line 44 of file gossipsub.h.
| int librats::MessageMetadata::hop_count |
Definition at line 47 of file gossipsub.h.
| std::chrono::steady_clock::time_point librats::MessageMetadata::last_seen |
Definition at line 45 of file gossipsub.h.
| std::string librats::MessageMetadata::message_id |
Definition at line 41 of file gossipsub.h.
| std::vector<std::string> librats::MessageMetadata::seen_from_peers |
Definition at line 46 of file gossipsub.h.
| std::string librats::MessageMetadata::sender_peer_id |
Definition at line 43 of file gossipsub.h.
| std::string librats::MessageMetadata::topic |
Definition at line 42 of file gossipsub.h.
| bool librats::MessageMetadata::validated |
Definition at line 48 of file gossipsub.h.