Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPeerBlacklist ¶
func NewPeerBlacklist(args PeerBlackListArgs) (*peerBlacklist, error)
NewPeerBlacklist creates a new instance of peer blacklist
Types ¶
type PeerBlackListArgs ¶
type PeerBlackListArgs struct {
PeerCacher spos.PeerBlackListCacher
}
PeerBlackListArgs defines the arguments needed for peer blacklist component
Click to show internal directories.
Click to hide internal directories.