a317a8b011
fix: dont allow multiaddr dials without a peer id ( #558 )
...
* fix: require peer ids when dialing multiaddrs
* chore: fix lint
* docs: add more info about multiaddr peer ids
2020-02-11 16:32:40 +01:00
6445fda050
feat: add libp2p.connections getter ( #522 )
...
* fix: make hangup accept what the API says it does
* feat: add libp2p.connections getter
* chore: fix typo
2020-01-24 14:40:40 +01:00
a020db183a
refactor: async routing ( #489 )
...
* feat: async routing
* chore: put dht extra api commands under content routing
* chore: add default option to createPeerInfo
Co-Authored-By: Jacob Heun <jacobheun@gmail.com >
* chore: address review
* chore: rm dlv
2020-01-24 14:40:40 +01:00
f77ce39484
refactor: circuit relay to async ( #477 )
...
* refactor: add dialing over relay support
* chore: fix lint
* fix: dont clear listeners on close
* fix: if dial errors already have codes, just rethrow them
* fix: clear the registrar when libp2p stops
* fix: improve connection maintenance with circuit
* chore: correct feedback
* test: use chai as promised
* test(fix): reset multiaddrs on dial test
2020-01-24 14:40:40 +01:00
9d52b80c45
feat: registrar ( #471 )
...
* feat: peer-store v0
* feat: registrar
* chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com >
* chore: address review
* chore: support multiple conns
* chore: address review
* fix: no remote peer from topology on disconnect
2020-01-24 14:40:40 +01:00