| 
    rippled
    
   | 
 

Public Member Functions | |
| void | update (std::shared_ptr< Peer > &&peer, int dataCount) | 
| void | prune () | 
| template<class F > | |
| void | sampleN (std::size_t n, F &&f) | 
Public Attributes | |
| std::unordered_map< std::shared_ptr< Peer >, int > | counts | 
| int | maxCount = 0 | 
Definition at line 1164 of file InboundLedger.cpp.
| void ripple::detail::PeerDataCounts::update | ( | std::shared_ptr< Peer > && | peer, | 
| int | dataCount | ||
| ) | 
Definition at line 1173 of file InboundLedger.cpp.
| void ripple::detail::PeerDataCounts::prune | ( | ) | 
Definition at line 1189 of file InboundLedger.cpp.
| void ripple::detail::PeerDataCounts::sampleN | ( | std::size_t | n, | 
| F && | f | ||
| ) | 
Definition at line 1208 of file InboundLedger.cpp.
| std::unordered_map<std::shared_ptr<Peer>, int> ripple::detail::PeerDataCounts::counts | 
Definition at line 1167 of file InboundLedger.cpp.
| int ripple::detail::PeerDataCounts::maxCount = 0 | 
Definition at line 1169 of file InboundLedger.cpp.