Imports github.com/multiformats/go-multicodec/json github.com/libp2p/go-libp2p github.com/libp2p/go-libp2p-net github.com/libp2p/go-libp2p-peerstore github.com/multiformats/go-multicodec github.com/libp2p/go-libp2p-host Standard library imports bufio context fmt log math/rand time