 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PeerManager ¶
type PeerMonitor ¶
type PeerMonitor struct {
	// contains filtered or unexported fields
}
    PeerMonitor runs a background process to periodically check for peers with scores below a minimum. When it finds bad peers, it disconnects and bans them. A delay is introduced between each peer being checked to avoid spikes in system load.
func NewPeerMonitor ¶
func (*PeerMonitor) Start ¶
func (p *PeerMonitor) Start()
func (*PeerMonitor) Stop ¶
func (p *PeerMonitor) Stop()
 Click to show internal directories. 
   Click to hide internal directories.