rippled
Loading...
Searching...
No Matches
Import.h
1#pragma once
2
3#include <xrpl/resource/Consumer.h>
4#include <xrpl/resource/detail/Entry.h>
5
6namespace xrpl {
7namespace Resource {
8
10struct Import
11{
12 struct Item
13 {
14 explicit Item() = default;
15
18 };
19
20 // Dummy argument required for zero-copy construction
21 Import(int = 0) : whenExpires()
22 {
23 }
24
25 // When the imported data expires
27
28 // List of remote entries
30};
31
32} // namespace Resource
33} // namespace xrpl
An endpoint that consumes resources.
Definition Consumer.h:16
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5
A set of imported consumer data from a gossip origin.
Definition Import.h:11
std::vector< Item > items
Definition Import.h:29
clock_type::time_point whenExpires
Definition Import.h:26