package
3.0.0+incompatible
Repository: https://github.com/mysteriumnetwork/payments.git
Documentation: pkg.go.dev
# Functions
DefaultByAvailability will sort by connection problems received from notifications.
DefaultByBlockSize will sort on ticker by block size.
NewMultiClientSorter bootstraps the default sorter.
NewMultiClientSorterNoTicker bootraps the sorter without ticker, only listening for notifications.
# Structs
MultiClientSorter is able to sort multiclient according to provided funcs.
# Interfaces
SortableClient clients must implement the interface to be interacted with.
# Type aliases
ClientCall gives a EtherClient to call.
OnNotificationAction is called when a notification is received.
OnTickerAction is called when a ticker tick is received.