rippled
|
Namespaces | |
detail | |
Sim | |
Tuning | |
Heuristically tuned constants. | |
Classes | |
class | Bootcache |
Stores IP addresses useful for gaining initial connections. More... | |
class | Checker |
Tests remote listening sockets to make sure they are connectible. More... | |
struct | Config |
PeerFinder configuration settings. More... | |
class | ConnectHandouts |
Receives handouts for making automatic connections. More... | |
class | Counts |
Manages the count of available connections for the various slots. More... | |
struct | Endpoint |
Describes a connectible peer address along with some metadata. More... | |
class | Fixed |
Metadata for a Fixed slot. More... | |
class | Livecache |
The Livecache holds the short-lived relayed Endpoint messages. More... | |
class | Livecache_test |
class | Logic |
The Logic for maintaining the list of Slot addresses. More... | |
class | Manager |
Maintains a set of IP addresses used for getting into the network. More... | |
class | ManagerImp |
class | PeerFinder_test |
class | RedirectHandouts |
Receives handouts for redirecting a connection. More... | |
struct | Reporting |
Severity levels for test reporting. More... | |
class | Slot |
Properties and state associated with a peer to peer overlay connection. More... | |
class | SlotHandouts |
Receives endpoints for a slot during periodic handouts. More... | |
class | SlotImp |
class | Source |
A static or dynamic source of peer addresses. More... | |
class | SourceStrings |
Provides addresses from a static set of strings. More... | |
class | SourceStringsImp |
class | Store |
Abstract persistence for PeerFinder data. More... | |
class | StoreSqdb |
Database persistence for PeerFinder using SQLite. More... | |
Typedefs | |
using | clock_type = beast::abstract_clock< std::chrono::steady_clock > |
using | IPAddresses = std::vector< beast::IP::Endpoint > |
Represents a set of addresses. More... | |
using | Endpoints = std::vector< Endpoint > |
A set of Endpoint used for connecting. More... | |
Enumerations | |
enum | Result { Result::duplicate, Result::full, Result::success } |
Possible results from activating a slot. More... | |
Functions | |
template<class TargetFwdIter , class SeqFwdIter > | |
void | handout (TargetFwdIter first, TargetFwdIter last, SeqFwdIter seq_first, SeqFwdIter seq_last) |
Distributes objects to targets according to business rules. More... | |
std::unique_ptr< Manager > | make_Manager (boost::asio::io_service &io_service, clock_type &clock, beast::Journal journal, BasicConfig const &config, beast::insight::Collector::ptr const &collector) |
Create a new Manager. More... | |
bool | operator< (Endpoint const &lhs, Endpoint const &rhs) |
bool | operator== (Endpoint const &a, Endpoint const &b) |
BEAST_DEFINE_TESTSUITE (Livecache, peerfinder, ripple) | |
BEAST_DEFINE_TESTSUITE (PeerFinder, PeerFinder, ripple) | |
using ripple::PeerFinder::clock_type = typedef beast::abstract_clock<std::chrono::steady_clock> |
Definition at line 32 of file PeerfinderManager.h.
using ripple::PeerFinder::IPAddresses = typedef std::vector<beast::IP::Endpoint> |
Represents a set of addresses.
Definition at line 35 of file PeerfinderManager.h.
using ripple::PeerFinder::Endpoints = typedef std::vector<Endpoint> |
A set of Endpoint used for connecting.
Definition at line 130 of file PeerfinderManager.h.
|
strong |
Possible results from activating a slot.
Enumerator | |
---|---|
duplicate | |
full | |
success |
Definition at line 135 of file PeerfinderManager.h.
void ripple::PeerFinder::handout | ( | TargetFwdIter | first, |
TargetFwdIter | last, | ||
SeqFwdIter | seq_first, | ||
SeqFwdIter | seq_last | ||
) |
Distributes objects to targets according to business rules.
A best effort is made to evenly distribute items in the sequence container list into the target sequence list.
Definition at line 67 of file Handouts.h.
std::unique_ptr< Manager > ripple::PeerFinder::make_Manager | ( | boost::asio::io_service & | io_service, |
clock_type & | clock, | ||
beast::Journal | journal, | ||
BasicConfig const & | config, | ||
beast::insight::Collector::ptr const & | collector | ||
) |
Create a new Manager.
Definition at line 273 of file PeerfinderManager.cpp.
Definition at line 124 of file PeerfinderManager.h.
Definition at line 33 of file Livecache_test.cpp.
ripple::PeerFinder::BEAST_DEFINE_TESTSUITE | ( | Livecache | , |
peerfinder | , | ||
ripple | |||
) |
ripple::PeerFinder::BEAST_DEFINE_TESTSUITE | ( | PeerFinder | , |
PeerFinder | , | ||
ripple | |||
) |