Skip to content

Commit

Permalink
Add zaphod.alloy.ee to default hub configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
alloynetworks authored and nbougalis committed Dec 28, 2018
1 parent 6d0b108 commit f443439
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/ripple/overlay/impl/OverlayImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -484,13 +484,22 @@ OverlayImpl::onPrepare()
m_peerFinder->setConfig (config);

// Populate our boot cache: if there are no entries in [ips] then we use
// the entries in [ips_fixed]. If both are empty, we resort to a round-robin
// pool.
// the entries in [ips_fixed].
auto bootstrapIps = app_.config().IPS.empty()
? app_.config().IPS_FIXED
: app_.config().IPS;


// If nothing is specified, default to several well-known high-capacity
// servers to serve as bootstrap:
if (bootstrapIps.empty ())
bootstrapIps.push_back ("r.ripple.com 51235");
{
// Pool of servers operated by Ripple Labs Inc. - https://ripple.com
bootstrapIps.push_back("r.ripple.com 51235");

// Pool of servers operated by Alloy Networks - https://www.alloy.ee
bootstrapIps.push_back("zaphod.alloy.ee 51235");
}

m_resolver.resolve (bootstrapIps,
[this](std::string const& name,
Expand Down

2 comments on commit f443439

@intelliot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@intelliot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Proposed change: #4903

Please sign in to comment.