diff --git a/Application_8cpp_source.html b/Application_8cpp_source.html
index ae08acee61..c86029ea1f 100644
--- a/Application_8cpp_source.html
+++ b/Application_8cpp_source.html
@@ -2371,7 +2371,7 @@ $(function() {
ClosureCounter< void, boost::system::error_code const & > waitHandlerCounter_
NetworkOPs & getOPs() override
-std::unique_ptr< Overlay > make_Overlay(Application &app, Overlay::Setup const &setup, Stoppable &parent, ServerHandler &serverHandler, Resource::Manager &resourceManager, Resolver &resolver, boost::asio::io_service &io_service, BasicConfig const &config, beast::insight::Collector::ptr const &collector)
Creates the implementation of Overlay.
+std::unique_ptr< Overlay > make_Overlay(Application &app, Overlay::Setup const &setup, Stoppable &parent, ServerHandler &serverHandler, Resource::Manager &resourceManager, Resolver &resolver, boost::asio::io_service &io_service, BasicConfig const &config, beast::insight::Collector::ptr const &collector)
Creates the implementation of Overlay.
Provides the beast::insight::Collector service.
static std::string importNodeDatabase()
@@ -2458,7 +2458,7 @@ $(function() {
std::unique_ptr< LedgerMaster > m_ledgerMaster
bool isStopped() const
Returns true if the requested stop has completed.
Status doCommand(RPC::JsonContext &context, Json::Value &result)
Execute an RPC command and store the results in a Json::Value.
-Overlay::Setup setup_Overlay(BasicConfig const &config)
+Overlay::Setup setup_Overlay(BasicConfig const &config)
perf::PerfLog & getPerfLog() override
std::unique_ptr< JobQueue > m_jobQueue
diff --git a/BuildInfo_8cpp_source.html b/BuildInfo_8cpp_source.html
index 98da9719e3..bb29f8ebc7 100644
--- a/BuildInfo_8cpp_source.html
+++ b/BuildInfo_8cpp_source.html
@@ -104,7 +104,7 @@ $(function() {
-
+
39 #if defined(DEBUG) || defined(SANITIZER)
diff --git a/OverlayImpl_8cpp_source.html b/OverlayImpl_8cpp_source.html
index 981dc0ffa7..9a4c8a1dac 100644
--- a/OverlayImpl_8cpp_source.html
+++ b/OverlayImpl_8cpp_source.html
@@ -1156,7 +1156,7 @@ $(function() {
-
+ 1097 int last_validated_ledger_age = -1;
1098 if (info.isMember(
"validated_ledger"))
1099 last_validated_ledger_age = info[
"validated_ledger"][
"age"].asInt();
1100 bool amendment_blocked =
false;
@@ -1164,377 +1164,387 @@ $(function() {
1102 amendment_blocked =
true;
1103 int number_peers = info[
"peers"].asInt();
1104 std::string server_state = info[
"server_state"].asString();
- 1105 auto load_factor = info[
"load_factor"].asDouble();
-
- 1107 enum { healthy, warning, critical };
- 1108 int health = healthy;
- 1109 auto set_health = [&health](
int state) {
-
-
-
-
- 1114 if (last_validated_ledger_age >= 7)
-
- 1116 msg.body()[jss::info][
"validated_ledger"] = last_validated_ledger_age;
- 1117 if (last_validated_ledger_age < 20)
- 1118 set_health(warning);
-
- 1120 set_health(critical);
-
-
- 1123 if (amendment_blocked)
-
- 1125 msg.body()[jss::info][
"amendment_blocked"] =
true;
- 1126 set_health(critical);
-
-
- 1129 if (number_peers <= 7)
-
- 1131 msg.body()[jss::info][
"peers"] = number_peers;
- 1132 if (number_peers != 0)
- 1133 set_health(warning);
-
- 1135 set_health(critical);
-
-
- 1138 if (!(server_state ==
"full" || server_state ==
"validating" ||
- 1139 server_state ==
"proposing"))
-
- 1141 msg.body()[jss::info][
"server_state"] = server_state;
- 1142 if (server_state ==
"syncing" || server_state ==
"tracking" ||
- 1143 server_state ==
"connected")
-
- 1145 set_health(warning);
-
-
- 1148 set_health(critical);
-
-
- 1151 if (load_factor > 100)
-
- 1153 msg.body()[jss::info][
"load_factor"] = load_factor;
- 1154 if (load_factor < 1000)
- 1155 set_health(warning);
-
- 1157 set_health(critical);
-
-
- 1160 if (health != critical)
- 1161 msg.result(boost::beast::http::status::ok);
-
- 1163 msg.result(boost::beast::http::status::service_unavailable);
-
- 1165 msg.prepare_payload();
- 1166 handoff.
response = std::make_shared<SimpleWriter>(msg);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ 1106 info[
"load_factor"].asDouble() / info[
"load_base"].asDouble();
+
+ 1108 enum { healthy, warning, critical };
+ 1109 int health = healthy;
+ 1110 auto set_health = [&health](
int state) {
+
+
+
+
+
+ 1116 if (last_validated_ledger_age >= 7 || last_validated_ledger_age < 0)
+
+ 1118 msg.body()[jss::info][
"validated_ledger"] = last_validated_ledger_age;
+ 1119 if (last_validated_ledger_age < 20)
+ 1120 set_health(warning);
+
+ 1122 set_health(critical);
+
+
+ 1125 if (amendment_blocked)
+
+ 1127 msg.body()[jss::info][
"amendment_blocked"] =
true;
+ 1128 set_health(critical);
+
+
+ 1131 if (number_peers <= 7)
+
+ 1133 msg.body()[jss::info][
"peers"] = number_peers;
+ 1134 if (number_peers != 0)
+ 1135 set_health(warning);
+
+ 1137 set_health(critical);
+
+
+ 1140 if (!(server_state ==
"full" || server_state ==
"validating" ||
+ 1141 server_state ==
"proposing"))
+
+ 1143 msg.body()[jss::info][
"server_state"] = server_state;
+ 1144 if (server_state ==
"syncing" || server_state ==
"tracking" ||
+ 1145 server_state ==
"connected")
+
+ 1147 set_health(warning);
+
+
+ 1150 set_health(critical);
+
+
+ 1153 if (load_factor > 100)
+
+ 1155 msg.body()[jss::info][
"load_factor"] = load_factor;
+ 1156 if (load_factor < 1000)
+ 1157 set_health(warning);
+
+ 1159 set_health(critical);
+
+
+
+
+
+ 1165 msg.result(boost::beast::http::status::ok);
+
+
+ 1168 msg.result(boost::beast::http::status::service_unavailable);
+
+
+ 1171 msg.result(boost::beast::http::status::internal_server_error);
+
+
+
+ 1175 msg.prepare_payload();
+ 1176 handoff.
response = std::make_shared<SimpleWriter>(msg);
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
- 1208 auto const iter =
ids_.find(
id);
- 1209 if (iter !=
ids_.end())
- 1210 return iter->second.lock();
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
- 1220 for (
auto const& e :
ids_)
-
- 1222 if (
auto peer = e.second.lock())
-
- 1224 if (peer->getNodePublic() == pubKey)
-
-
-
-
-
-
-
-
-
- 1234 auto const sm = std::make_shared<Message>(m, protocol::mtPROPOSE_LEDGER);
-
-
-
-
-
-
-
-
-
- 1244 std::make_shared<Message>(m, protocol::mtPROPOSE_LEDGER);
-
- 1246 if (toSkip->find(p->id()) == toSkip->end())
-
-
-
-
-
-
-
-
- 1255 auto const sm = std::make_shared<Message>(m, protocol::mtVALIDATION);
-
-
-
-
-
-
-
-
- 1264 auto const sm = std::make_shared<Message>(m, protocol::mtVALIDATION);
-
- 1266 if (toSkip->find(p->id()) == toSkip->end())
-
-
-
-
-
-
-
-
-
-
-
- 1278 list_.erase(&child);
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1299 work_ = boost::none;
-
-
- 1302 for (
auto const& element :
list_)
-
-
-
-
-
- 1308 for (
auto const& child : children)
-
- 1310 if (child !=
nullptr)
-
-
-
-
-
-
-
-
- 1319 for (
auto addr : result)
-
-
-
-
-
-
- 1326 auto const result =
m_peerFinder->buildEndpointsForPeers();
- 1327 for (
auto const& e : result)
-
-
-
-
- 1332 auto const iter =
m_peers.find(e.first);
-
- 1334 peer = iter->second.lock();
-
-
- 1337 peer->sendEndpoints(e.second.begin(), e.second.end());
-
-
-
-
-
-
-
-
-
- 1347 auto const& section = config.
section(
"overlay");
-
-
-
-
- 1352 Throw<std::runtime_error>(
"Configured IP limit is invalid");
-
-
- 1355 set(ip,
"public_ip", section);
-
-
- 1358 boost::system::error_code ec;
-
-
- 1361 Throw<std::runtime_error>(
"Configured public IP is invalid");
-
-
-
-
- 1366 auto const& section = config.
section(
"crawl");
- 1367 auto const& values = section.
values();
-
- 1369 if (values.size() > 1)
-
- 1371 Throw<std::runtime_error>(
- 1372 "Configured [crawl] section is invalid, too many values");
-
+
+
+
+
+ 1218 auto const iter =
ids_.find(
id);
+ 1219 if (iter !=
ids_.end())
+ 1220 return iter->second.lock();
+
+
+
+
+
+
+
+
+
+ 1230 for (
auto const& e :
ids_)
+
+ 1232 if (
auto peer = e.second.lock())
+
+ 1234 if (peer->getNodePublic() == pubKey)
+
+
+
+
+
+
+
+
+
+ 1244 auto const sm = std::make_shared<Message>(m, protocol::mtPROPOSE_LEDGER);
+
+
+
+
+
+
+
+
+
+ 1254 std::make_shared<Message>(m, protocol::mtPROPOSE_LEDGER);
+
+ 1256 if (toSkip->find(p->id()) == toSkip->end())
+
+
+
+
+
+
+
+
+ 1265 auto const sm = std::make_shared<Message>(m, protocol::mtVALIDATION);
+
+
+
+
+
+
+
+
+ 1274 auto const sm = std::make_shared<Message>(m, protocol::mtVALIDATION);
+
+ 1276 if (toSkip->find(p->id()) == toSkip->end())
+
+
+
+
+
+
+
+
+
+
+
+ 1288 list_.erase(&child);
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1309 work_ = boost::none;
+
+
+ 1312 for (
auto const& element :
list_)
+
+
+
+
+
+ 1318 for (
auto const& child : children)
+
+ 1320 if (child !=
nullptr)
+
+
+
+
+
+
+
+
+ 1329 for (
auto addr : result)
+
+
+
+
+
+
+ 1336 auto const result =
m_peerFinder->buildEndpointsForPeers();
+ 1337 for (
auto const& e : result)
+
+
+
+
+ 1342 auto const iter =
m_peers.find(e.first);
+
+ 1344 peer = iter->second.lock();
+
+
+ 1347 peer->sendEndpoints(e.second.begin(), e.second.end());
+
+
+
+
+
+
+
+
+
+ 1357 auto const& section = config.
section(
"overlay");
+
+
+
+
+ 1362 Throw<std::runtime_error>(
"Configured IP limit is invalid");
+
+
+ 1365 set(ip,
"public_ip", section);
+
+
+ 1368 boost::system::error_code ec;
+
+
+ 1371 Throw<std::runtime_error>(
"Configured public IP is invalid");
+
+
- 1375 bool crawlEnabled =
true;
-
-
- 1378 if (values.size() == 1)
-
-
-
- 1382 crawlEnabled = boost::lexical_cast<bool>(values.front());
-
- 1384 catch (boost::bad_lexical_cast
const&)
-
- 1386 Throw<std::runtime_error>(
- 1387 "Configured [crawl] section has invalid value: " +
-
-
-
-
-
-
- 1394 if (get<bool>(section,
"overlay",
true))
+
+ 1376 auto const& section = config.
section(
"crawl");
+ 1377 auto const& values = section.
values();
+
+ 1379 if (values.size() > 1)
+
+ 1381 Throw<std::runtime_error>(
+ 1382 "Configured [crawl] section is invalid, too many values");
+
+
+ 1385 bool crawlEnabled =
true;
+
+
+ 1388 if (values.size() == 1)
+
+
+
+ 1392 crawlEnabled = boost::lexical_cast<bool>(values.front());
+
+ 1394 catch (boost::bad_lexical_cast
const&)
-
-
- 1398 if (get<bool>(section,
"server",
true))
-
-
-
- 1402 if (get<bool>(section,
"counts",
false))
-
-
-
- 1406 if (get<bool>(section,
"unl",
true))
-
-
-
-
-
-
- 1413 auto const& section = config.
section(
"vl");
-
-
-
-
-
-
- 1420 auto id = config.
legacy(
"network_id");
-
-
-
-
-
-
- 1427 if (
id ==
"testnet")
-
-
-
-
-
-
-
-
-
-
- 1438 Throw<std::runtime_error>(
- 1439 "Configured [network_id] section is invalid: must be a number "
- 1440 "or one of the strings 'main', 'testnet' or 'devnet'.");
-
+ 1396 Throw<std::runtime_error>(
+ 1397 "Configured [crawl] section has invalid value: " +
+
+
+
+
+
+
+ 1404 if (get<bool>(section,
"overlay",
true))
+
+
+
+ 1408 if (get<bool>(section,
"server",
true))
+
+
+
+ 1412 if (get<bool>(section,
"counts",
false))
+
+
+
+ 1416 if (get<bool>(section,
"unl",
true))
+
+
+
+
+
+
+ 1423 auto const& section = config.
section(
"vl");
+
+
+
+
+
+
+ 1430 auto id = config.
legacy(
"network_id");
+
+
+
+
+
+
+ 1437 if (
id ==
"testnet")
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
- 1454 boost::asio::io_service& io_service,
-
-
-
- 1458 return std::make_unique<OverlayImpl>(
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ 1448 Throw<std::runtime_error>(
+ 1449 "Configured [network_id] section is invalid: must be a number "
+ 1450 "or one of the strings 'main', 'testnet' or 'devnet'.");
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1464 boost::asio::io_service& io_service,
+
+
+
+ 1468 return std::make_unique<OverlayImpl>(
+
+
+
+
+
+
+
+
+
+
+
+
std::string const & name() const
Returns the name of this source.
virtual Consumer newInboundEndpoint(beast::IP::Endpoint const &address)=0
Create a new endpoint keyed by inbound IP address or the forwarded IP if proxied.
-std::shared_ptr< Peer > findPeerByShortID(Peer::id_t const &id) override
Returns the peer with the matching short id, or null.
-void relay(protocol::TMProposeSet &m, uint256 const &uid) override
Relay a proposal.
+std::shared_ptr< Peer > findPeerByShortID(Peer::id_t const &id) override
Returns the peer with the matching short id, or null.
+void relay(protocol::TMProposeSet &m, uint256 const &uid) override
Relay a proposal.
virtual Consumer newOutboundEndpoint(beast::IP::Endpoint const &address)=0
Create a new endpoint keyed by outbound IP address and port.
Json::Value getServerCounts()
Returns information about the local server's performance counters.
@@ -1561,7 +1571,7 @@ $(function() {
@ arrayValue
array value (ordered list)
boost::beast::http::request< boost::beast::http::dynamic_body > http_request_type
-
+
boost::optional< Json::Value > getAvailable(boost::beast::string_view const &pubKey)
Returns the current valid list for the given publisher key, if available, as a Json object.
virtual ValidatorSite & validatorSites()=0
std::uint32_t crawlOptions
@@ -1578,7 +1588,7 @@ $(function() {
std::string base64_encode(std::uint8_t const *data, std::size_t len)
bool empty() const noexcept
std::shared_ptr< boost::asio::ssl::context > make_SSLContext(std::string const &cipherList)
Create a self-signed SSL context that allows anonymous Diffie Hellman.
-std::unique_ptr< Overlay > make_Overlay(Application &app, Overlay::Setup const &setup, Stoppable &parent, ServerHandler &serverHandler, Resource::Manager &resourceManager, Resolver &resolver, boost::asio::io_service &io_service, BasicConfig const &config, beast::insight::Collector::ptr const &collector)
Creates the implementation of Overlay.
+std::unique_ptr< Overlay > make_Overlay(Application &app, Overlay::Setup const &setup, Stoppable &parent, ServerHandler &serverHandler, Resource::Manager &resourceManager, Resolver &resolver, boost::asio::io_service &io_service, BasicConfig const &config, beast::insight::Collector::ptr const &collector)
Creates the implementation of Overlay.
static std::string makePrefix(std::uint32_t id)
std::string features
The set of features we advertise.
Handoff onHandoff(std::unique_ptr< stream_type > &&bundle, http_request_type &&request, endpoint_type remote_endpoint) override
Conditionally accept an incoming HTTP request.
@@ -1600,7 +1610,7 @@ $(function() {
Stopwatch & stopwatch()
Returns an instance of a wall clock.
std::string to_string(ListDisposition disposition)
-void broadcast(protocol::TMProposeSet &m) override
Broadcast a proposal.
+void broadcast(protocol::TMProposeSet &m) override
Broadcast a proposal.
virtual std::shared_ptr< Slot > new_outbound_slot(beast::IP::Endpoint const &remote_endpoint)=0
Create a new outbound slot with the specified remote endpoint.
void connect(beast::IP::Endpoint const &remote_endpoint) override
Establish a peer connection to the specified endpoint.
Json::Value json() override
Return diagnostics on the status of all peers.
@@ -1632,7 +1642,7 @@ $(function() {
std::size_t size() const override
The number of active peers on the network Active peers are only those peers that have completed the h...
bool is_keep_alive(boost::beast::http::message< isRequest, Body, Fields > const &m)
-Overlay::Setup setup_Overlay(BasicConfig const &config)
+Overlay::Setup setup_Overlay(BasicConfig const &config)
Value & append(const Value &value)
Append value to array at the end.
@@ -1681,14 +1691,14 @@ $(function() {
Child(OverlayImpl &overlay)
boost::optional< std::set< PeerShortID > > shouldRelay(uint256 const &key)
Determines whether the hashed item should be relayed.
-PeerSequence getActivePeers() const override
Returns a sequence representing the current list of peers.
+PeerSequence getActivePeers() const override
Returns a sequence representing the current list of peers.
Result split_commas(FwdIt first, FwdIt last)
virtual PublicKey const & getValidationPublicKey() const =0
OverlayImpl(Application &app, Setup const &setup, Stoppable &parent, ServerHandler &serverHandler, Resource::Manager &resourceManager, Resolver &resolver, boost::asio::io_service &io_service, BasicConfig const &config, beast::insight::Collector::ptr const &collector)
virtual ValidatorList & validators()=0
-bool processRequest(http_request_type const &req, Handoff &handoff)
Handles non-peer protocol requests.
+bool processRequest(http_request_type const &req, Handoff &handoff)
Handles non-peer protocol requests.
@ accepted
Manifest is valid.
Tracks load and resource consumption.
std::string const & getFullVersionString()
Full server version string.
@@ -1701,7 +1711,7 @@ $(function() {
T emplace_back(T... args)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
boost::optional< Manifest > deserializeManifest(Slice s)
Constructs Manifest from serialized string.
-void checkSanity(std::uint32_t) override
Calls the checkSanity function on each peer.
+void checkSanity(std::uint32_t) override
Calls the checkSanity function on each peer.
virtual beast::Journal journal(std::string const &name)=0
virtual ManifestCache & validatorManifests()=0
@@ -1720,7 +1730,7 @@ $(function() {
boost::container::flat_map< Child *, std::weak_ptr< Child > > list_
void lastLink(std::uint32_t id)
Called when the last link from a peer chain is received.
-void check() override
Calls the check function on each peer.
+void check() override
Calls the check function on each peer.
Timer(OverlayImpl &overlay)
Wraps a Journal::Sink to prefix its output with a string.
@@ -1728,7 +1738,7 @@ $(function() {
-std::shared_ptr< Peer > findPeerByPublicKey(PublicKey const &pubKey) override
Returns the peer with the matching public key, or null.
+std::shared_ptr< Peer > findPeerByPublicKey(PublicKey const &pubKey) override
Returns the peer with the matching public key, or null.
Json::Value getJson() const
Return a JSON representation of the state of the validator list.
bool contains(PublicKey const &nodeId)
@@ -1746,7 +1756,6 @@ $(function() {
std::atomic< std::chrono::seconds > csLast_
-
void reportTraffic(TrafficCount::category cat, bool isInbound, int bytes)
Json::Value crawlShards(bool pubKey, std::uint32_t hops) override
Returns information reported to the crawl shard RPC command.
void addCount(category cat, bool inbound, int bytes)
Account for traffic associated with the given category.
@@ -1767,10 +1776,10 @@ $(function() {
void onWrite(beast::PropertyStream::Map &stream) override
Subclass override.
virtual HashRouter & getHashRouter()=0
Holds unparsed configuration information.
-
+
void for_each(UnaryFunc &&f) const
void onStop() override
Override called when the stop notification is issued.
-
+
Section & section(std::string const &name)
Returns the section with the given name.
diff --git a/OverlayImpl_8h_source.html b/OverlayImpl_8h_source.html
index 36f3a0d029..e4ca1eb7a8 100644
--- a/OverlayImpl_8h_source.html
+++ b/OverlayImpl_8h_source.html
@@ -570,8 +570,8 @@ $(function() {
std::string const & name() const
Returns the name of this source.
-std::shared_ptr< Peer > findPeerByShortID(Peer::id_t const &id) override
Returns the peer with the matching short id, or null.
-void relay(protocol::TMProposeSet &m, uint256 const &uid) override
Relay a proposal.
+std::shared_ptr< Peer > findPeerByShortID(Peer::id_t const &id) override
Returns the peer with the matching short id, or null.
+void relay(protocol::TMProposeSet &m, uint256 const &uid) override
Relay a proposal.
beast::insight::Hook hook
@@ -595,7 +595,7 @@ $(function() {
std::uint64_t getJqTransOverflow() const override
boost::beast::http::request< boost::beast::http::dynamic_body > http_request_type
-
+
std::set< std::uint32_t > csIDs_
std::recursive_mutex mutex_
@@ -615,7 +615,7 @@ $(function() {
void onStart() override
Override called during start.
TrafficGauges(char const *name, beast::insight::Collector::ptr const &collector)
-void broadcast(protocol::TMProposeSet &m) override
Broadcast a proposal.
+void broadcast(protocol::TMProposeSet &m) override
Broadcast a proposal.
void connect(beast::IP::Endpoint const &remote_endpoint) override
Establish a peer connection to the specified endpoint.
Json::Value json() override
Return diagnostics on the status of all peers.
Setup const & setup() const
@@ -666,20 +666,20 @@ $(function() {
Child(OverlayImpl &overlay)
beast::insight::Gauge bytesIn
-PeerSequence getActivePeers() const override
Returns a sequence representing the current list of peers.
+PeerSequence getActivePeers() const override
Returns a sequence representing the current list of peers.
beast::insight::Gauge messagesIn
OverlayImpl(Application &app, Setup const &setup, Stoppable &parent, ServerHandler &serverHandler, Resource::Manager &resourceManager, Resolver &resolver, boost::asio::io_service &io_service, BasicConfig const &config, beast::insight::Collector::ptr const &collector)
A metric for measuring an integral value.
-bool processRequest(http_request_type const &req, Handoff &handoff)
Handles non-peer protocol requests.
+bool processRequest(http_request_type const &req, Handoff &handoff)
Handles non-peer protocol requests.
Tracks load and resource consumption.
Resource::Manager & m_resourceManager
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
boost::optional< std::uint32_t > networkID() const override
Returns the ID of the network this server is configured for, if any.
-void checkSanity(std::uint32_t) override
Calls the checkSanity function on each peer.
+void checkSanity(std::uint32_t) override
Calls the checkSanity function on each peer.
void remove(std::shared_ptr< PeerFinder::Slot > const &slot)
Manages the set of connected peers.
@@ -690,12 +690,12 @@ $(function() {
boost::container::flat_map< Child *, std::weak_ptr< Child > > list_
void lastLink(std::uint32_t id)
Called when the last link from a peer chain is received.
-void check() override
Calls the check function on each peer.
+void check() override
Calls the check function on each peer.
Timer(OverlayImpl &overlay)
Used to indicate the result of a server connection handoff.
-std::shared_ptr< Peer > findPeerByPublicKey(PublicKey const &pubKey) override
Returns the peer with the matching public key, or null.
+std::shared_ptr< Peer > findPeerByPublicKey(PublicKey const &pubKey) override
Returns the peer with the matching public key, or null.
static bool isPeerUpgrade(boost::beast::http::response< Body > const &response)
beast::insight::Gauge bytesOut
@@ -724,11 +724,11 @@ $(function() {
void onWrite(beast::PropertyStream::Map &stream) override
Subclass override.
Holds unparsed configuration information.
-
+
void for_each(UnaryFunc &&f) const
void onStop() override
Override called when the stop notification is issued.
Maintains a set of IP addresses used for getting into the network.
-
+
int limit() override
Returns the maximum number of peers we are configured to allow.
bool processCrawl(http_request_type const &req, Handoff &handoff)
Handles crawl requests.
diff --git a/PeerImp_8cpp_source.html b/PeerImp_8cpp_source.html
index 01817e6e79..e03bac1ad5 100644
--- a/PeerImp_8cpp_source.html
+++ b/PeerImp_8cpp_source.html
@@ -3059,7 +3059,7 @@ $(function() {
std::uint8_t const * data() const noexcept
void ledgerRange(std::uint32_t &minSeq, std::uint32_t &maxSeq) const override
clock_type::duration uptime() const
-std::shared_ptr< Peer > findPeerByShortID(Peer::id_t const &id) override
Returns the peer with the matching short id, or null.
+std::shared_ptr< Peer > findPeerByShortID(Peer::id_t const &id) override
Returns the peer with the matching short id, or null.
const Charge feeInvalidRequest
Schedule of fees charged for imposing load on the server.
@@ -3334,7 +3334,7 @@ $(function() {
void setPublisherListSequence(PublicKey const &pubKey, std::size_t const seq) override
uint256 const & suppressionID() const
Unique id used by hash router to suppress duplicates.
bool supportsFeature(ProtocolFeature f) const override
-std::shared_ptr< Peer > findPeerByPublicKey(PublicKey const &pubKey) override
Returns the peer with the matching public key, or null.
+std::shared_ptr< Peer > findPeerByPublicKey(PublicKey const &pubKey) override
Returns the peer with the matching public key, or null.
diff --git a/ServerHandlerImp_8cpp_source.html b/ServerHandlerImp_8cpp_source.html
index e97013f73a..598818d618 100644
--- a/ServerHandlerImp_8cpp_source.html
+++ b/ServerHandlerImp_8cpp_source.html
@@ -1329,7 +1329,7 @@ $(function() {
virtual beast::insight::Group::ptr const & group(std::string const &name)=0
bool is_keep_alive(boost::beast::http::message< isRequest, Body, Fields > const &m)
Status doCommand(RPC::JsonContext &context, Json::Value &result)
Execute an RPC command and store the results in a Json::Value.
-Overlay::Setup setup_Overlay(BasicConfig const &config)
+Overlay::Setup setup_Overlay(BasicConfig const &config)
Value & append(const Value &value)
Append value to array at the end.
diff --git a/classripple_1_1OverlayImpl.html b/classripple_1_1OverlayImpl.html
index cde9368701..ac52432b81 100644
--- a/classripple_1_1OverlayImpl.html
+++ b/classripple_1_1OverlayImpl.html
@@ -1179,7 +1179,7 @@ Private Attributes
Implements ripple::Overlay.
-Definition at line 1179 of file OverlayImpl.cpp.
+Definition at line 1189 of file OverlayImpl.cpp.
@@ -1210,7 +1210,7 @@ Private Attributes
Implements ripple::Overlay.
-Definition at line 1199 of file OverlayImpl.cpp.
+Definition at line 1209 of file OverlayImpl.cpp.
@@ -1248,7 +1248,7 @@ Private Attributes
Implements ripple::Overlay.
-Definition at line 1192 of file OverlayImpl.cpp.
+Definition at line 1202 of file OverlayImpl.cpp.
@@ -1280,7 +1280,7 @@ Private Attributes
Implements ripple::Overlay.
-Definition at line 1205 of file OverlayImpl.cpp.
+Definition at line 1215 of file OverlayImpl.cpp.
@@ -1312,7 +1312,7 @@ Private Attributes
Implements ripple::Overlay.
-Definition at line 1217 of file OverlayImpl.cpp.
+Definition at line 1227 of file OverlayImpl.cpp.
@@ -1344,7 +1344,7 @@ Private Attributes
Implements ripple::Overlay.
-Definition at line 1232 of file OverlayImpl.cpp.
+Definition at line 1242 of file OverlayImpl.cpp.
@@ -1376,7 +1376,7 @@ Private Attributes
Implements ripple::Overlay.
-Definition at line 1253 of file OverlayImpl.cpp.
+Definition at line 1263 of file OverlayImpl.cpp.
@@ -1418,7 +1418,7 @@ Private Attributes
Implements ripple::Overlay.
-Definition at line 1239 of file OverlayImpl.cpp.
+Definition at line 1249 of file OverlayImpl.cpp.
@@ -1460,7 +1460,7 @@ Private Attributes
Implements ripple::Overlay.
-Definition at line 1260 of file OverlayImpl.cpp.
+Definition at line 1270 of file OverlayImpl.cpp.
@@ -2326,7 +2326,7 @@ template<class Fields >
Handles non-peer protocol requests.
- Returns
- true if the request was handled.
-Definition at line 1171 of file OverlayImpl.cpp.
+Definition at line 1181 of file OverlayImpl.cpp.
@@ -2667,7 +2667,7 @@ template<class Fields >
@@ -2694,7 +2694,7 @@ template<class Fields >
@@ -2721,7 +2721,7 @@ template<class Fields >
@@ -2748,7 +2748,7 @@ template<class Fields >
diff --git a/make__Overlay_8h_source.html b/make__Overlay_8h_source.html
index da55ec2f22..bc42593393 100644
--- a/make__Overlay_8h_source.html
+++ b/make__Overlay_8h_source.html
@@ -122,8 +122,8 @@ $(function() {
ServerHandlerImp ServerHandler
-std::unique_ptr< Overlay > make_Overlay(Application &app, Overlay::Setup const &setup, Stoppable &parent, ServerHandler &serverHandler, Resource::Manager &resourceManager, Resolver &resolver, boost::asio::io_service &io_service, BasicConfig const &config, beast::insight::Collector::ptr const &collector)
Creates the implementation of Overlay.
-Overlay::Setup setup_Overlay(BasicConfig const &config)
+std::unique_ptr< Overlay > make_Overlay(Application &app, Overlay::Setup const &setup, Stoppable &parent, ServerHandler &serverHandler, Resource::Manager &resourceManager, Resolver &resolver, boost::asio::io_service &io_service, BasicConfig const &config, beast::insight::Collector::ptr const &collector)
Creates the implementation of Overlay.
+Overlay::Setup setup_Overlay(BasicConfig const &config)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
diff --git a/namespaceripple.html b/namespaceripple.html
index 1b419ff994..634562e10d 100644
--- a/namespaceripple.html
+++ b/namespaceripple.html
@@ -21195,7 +21195,7 @@ template<typename T >
@@ -21269,7 +21269,7 @@ template<typename T >
Creates the implementation of Overlay.
-Definition at line 1447 of file OverlayImpl.cpp.
+Definition at line 1457 of file OverlayImpl.cpp.
diff --git a/namespaceripple_1_1BuildInfo.html b/namespaceripple_1_1BuildInfo.html
index db38650c60..0d140d728e 100644
--- a/namespaceripple_1_1BuildInfo.html
+++ b/namespaceripple_1_1BuildInfo.html
@@ -99,7 +99,7 @@ Functions