|
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 1236 of file InboundLedger.cpp.
| void ripple::detail::PeerDataCounts::update | ( | std::shared_ptr< Peer > && | peer, |
| int | dataCount | ||
| ) |
Definition at line 1245 of file InboundLedger.cpp.
| void ripple::detail::PeerDataCounts::prune | ( | ) |
Definition at line 1261 of file InboundLedger.cpp.
| void ripple::detail::PeerDataCounts::sampleN | ( | std::size_t | n, |
| F && | f | ||
| ) |
Definition at line 1280 of file InboundLedger.cpp.
| std::unordered_map<std::shared_ptr<Peer>, int> ripple::detail::PeerDataCounts::counts |
Definition at line 1239 of file InboundLedger.cpp.
| int ripple::detail::PeerDataCounts::maxCount = 0 |
Definition at line 1241 of file InboundLedger.cpp.
1.8.17