| 
    rippled
    
   | 
 
Maintains squelching of relaying messages from validators. More...
#include <Squelch.h>

Public Member Functions | |
| Squelch (beast::Journal journal) | |
| virtual | ~Squelch ()=default | 
| bool | addSquelch (PublicKey const &validator, std::chrono::seconds const &squelchDuration) | 
| Squelch validation/proposal relaying for the validator.   | |
| void | removeSquelch (PublicKey const &validator) | 
| Remove the squelch.   | |
| bool | expireSquelch (PublicKey const &validator) | 
| Remove expired squelch.   | |
Private Types | |
| using | time_point = typename clock_type::time_point | 
Private Attributes | |
| hash_map< PublicKey, time_point > | squelched_ | 
| Maintains the list of squelched relaying to downstream peers.   | |
| beast::Journal const | journal_ | 
Maintains squelching of relaying messages from validators.
      
  | 
  private | 
      
  | 
  explicit | 
      
  | 
  virtualdefault | 
| bool ripple::reduce_relay::Squelch< clock_type >::addSquelch | ( | PublicKey const & | validator, | 
| std::chrono::seconds const & | squelchDuration | ||
| ) | 
| void ripple::reduce_relay::Squelch< clock_type >::removeSquelch | ( | PublicKey const & | validator | ) | 
| bool ripple::reduce_relay::Squelch< clock_type >::expireSquelch | ( | PublicKey const & | validator | ) | 
      
  | 
  private | 
      
  | 
  private |