mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-04 19:25:51 +00:00
fixes unittests for windows
This commit is contained in:
@@ -715,7 +715,7 @@ private:
|
||||
return keys;
|
||||
}
|
||||
|
||||
std::unordered_map<id_t, reduce_relay::Slot<ManualClock>::PeerInfo>
|
||||
std::unordered_map<Peer::id_t, reduce_relay::Slot<ManualClock>::PeerInfo>
|
||||
getUntrustedSlotPeers(
|
||||
PublicKey const& validator,
|
||||
reduce_relay::Slots<ManualClock> const& slots)
|
||||
@@ -724,8 +724,10 @@ private:
|
||||
if (it == slots.untrusted_slots_.end())
|
||||
return {};
|
||||
|
||||
auto r = std::
|
||||
unordered_map<id_t, reduce_relay::Slot<ManualClock>::PeerInfo>();
|
||||
auto r = std::unordered_map<
|
||||
Peer::id_t,
|
||||
reduce_relay::Slot<ManualClock>::PeerInfo>();
|
||||
|
||||
for (auto const& [id, info] : it->second.peers_)
|
||||
r.emplace(std::make_pair(id, info));
|
||||
|
||||
|
||||
@@ -253,7 +253,6 @@ public:
|
||||
// made the default routing algorithm //
|
||||
std::size_t VP_REDUCE_RELAY_SQUELCH_MAX_SELECTED_PEERS = 5;
|
||||
///////////////// END OF TEMPORARY CODE BLOCK /////////////////////
|
||||
// Reduce-relay - these parameters are experimental.
|
||||
|
||||
// Enable enhanced squelching of unique untrusted validator messages
|
||||
bool VP_REDUCE_RELAY_ENHANCED_SQUELCH_ENABLE = false;
|
||||
|
||||
Reference in New Issue
Block a user