rippled
Loading...
Searching...
No Matches
Gossip.h
1#ifndef XRPL_RESOURCE_GOSSIP_H_INCLUDED
2#define XRPL_RESOURCE_GOSSIP_H_INCLUDED
3
4#include <xrpl/beast/net/IPEndpoint.h>
5
6#include <vector>
7
8namespace ripple {
9namespace Resource {
10
12struct Gossip
13{
14 explicit Gossip() = default;
15
17 struct Item
18 {
19 explicit Item() = default;
20
23 };
24
26};
27
28} // namespace Resource
29} // namespace ripple
30
31#endif
A version-independent IP address and port combination.
Definition IPEndpoint.h:19
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6
Describes a single consumer.
Definition Gossip.h:18
beast::IP::Endpoint address
Definition Gossip.h:22
Data format for exchanging consumption information across peers.
Definition Gossip.h:13
std::vector< Item > items
Definition Gossip.h:25