Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewP2PDebugger ¶
func NewP2PDebugger() *p2pDebugger
NewP2PDebugger returns a new disabled p2p debugger
Types ¶
type PeerDenialEvaluator ¶
type PeerDenialEvaluator struct { }
PeerDenialEvaluator is a disabled implementation of PeerDenialEvaluator that does not manage black listed keys (all keys [peers] are whitelisted)
func (*PeerDenialEvaluator) IsDenied ¶
func (pde *PeerDenialEvaluator) IsDenied(_ core.PeerID) bool
IsDenied outputs false (all peers are white listed)
func (*PeerDenialEvaluator) IsInterfaceNil ¶
func (pde *PeerDenialEvaluator) IsInterfaceNil() bool
IsInterfaceNil returns true if there is no value under the interface
func (*PeerDenialEvaluator) UpsertPeerID ¶
UpsertPeerID returns nil and does nothing
Click to show internal directories.
Click to hide internal directories.