Package test contains predefined set of PeerInfo for testing. Generating private keys is computationally expensive, which slows down tests dramatically. Using a cache of pre-calculated private keys defined here to keeps tests fast.
EncodedPeerInfo holds encoded private keys and peerIDs for test peers.
PeerInfo holds deencoded keys and peerIDs for test peers.
GetTestPeerInfo gets PeerInfo for constructing a peer for testing.