package
1.0.2
Repository: https://github.com/fichain/go-file.git
Documentation: pkg.go.dev

# Functions

New returns a new empty PEXList.
NewWithRecentlySeen returns a new PEXList with given peers added to the dropped part.

# Constants

MaxLength is the maximum number of items to keep in the RecentlySeen list.

# Structs

PEXList contains the list of peer address for sending them to a peer at certain interval.
RecentlySeen is a peer address list that keeps the last `MaxLength` items.