refactor(peer) impl peerstore with map

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
refactor(peerstore) s/Get/FindOrCreate

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
refactor(peer): create peer through peerstore

for safety!

use mockpeer.WithID methods to create peers in tests

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
feat(peerstore) add peer to peerstore upon instantiation

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>