xrpld
Loading...
Searching...
No Matches
include
xrpl
resource
Gossip.h
1
#pragma once
2
3
#include <xrpl/beast/net/IPEndpoint.h>
4
5
#include <
vector
>
6
7
namespace
xrpl::resource
{
8
12
struct
Gossip
13
{
14
explicit
Gossip
() =
default
;
15
19
struct
Item
20
{
21
explicit
Item
() =
default
;
22
23
int
balance
{};
24
beast::ip::Endpoint
address
;
25
};
26
27
std::vector<Item>
items
;
28
};
29
30
}
// namespace xrpl::resource
beast::ip::Endpoint
A version-independent IP address and port combination.
Definition
IPEndpoint.h:24
xrpl::resource
Definition
ServiceRegistry.h:21
xrpl::resource::Gossip::Item::Item
Item()=default
xrpl::resource::Gossip::Item::address
beast::ip::Endpoint address
Definition
Gossip.h:24
xrpl::resource::Gossip::Item::balance
int balance
Definition
Gossip.h:23
xrpl::resource::Gossip::items
std::vector< Item > items
Definition
Gossip.h:27
xrpl::resource::Gossip::Gossip
Gossip()=default
vector
Generated by
1.16.1