2018-04-25 07:13:59 +00:00
|
|
|
package peers
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/ethereum/go-ethereum/p2p"
|
2020-01-02 09:10:19 +00:00
|
|
|
|
2018-05-03 07:35:58 +00:00
|
|
|
"github.com/status-im/status-go/signal"
|
2018-04-25 07:13:59 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// SendDiscoverySummary sends discovery.summary signal.
|
|
|
|
func SendDiscoverySummary(peers []*p2p.PeerInfo) {
|
2018-05-15 07:48:40 +00:00
|
|
|
signal.SendDiscoverySummary(peers)
|
2018-04-25 07:13:59 +00:00
|
|
|
}
|