mediachain / aleph

א: The mediachain universe manipulation engine
MIT License
38 stars 16 forks source link

Add lookupPeer command & net/lookup api support #114

Closed yusefnapora closed 7 years ago

yusefnapora commented 7 years ago

This adds the /net/lookup/:peerId endpoint to RestClient and a lookupPeer cli command that uses it.

Depends on https://github.com/mediachain/concat/pull/90

vyzo commented 7 years ago

:+1:

yusefnapora commented 7 years ago

Should we massage the output of the lookupPeers command to append /p2p/<peerId>? That would make them easily copy / pastable into the aleph repl flags or config file.

vyzo commented 7 years ago

perhaps with a flag?