Jacob Heun
c1038bec92
fix: use toB58String everywhere to be consistent ( #537 )
...
* chore: update deps
* fix: consistently use b58 peerid string
The migration to base32 will happen at a later date
2020-01-24 14:40:40 +01:00
Vasco Santos
bb2e56e6c7
fix: registrar should filter the disconnected conn ( #532 )
...
* fix: registrar on disconnect only when no connections
* chore: add test
2020-01-24 14:40:40 +01:00
Jacob Heun
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
Jacob Heun
12fc069873
fix: clean up peer discovery flow ( #494 )
...
* fix: clean up peer discovery flow
* test(fix): let libp2p start after connecting
* test(fix): dont auto dial in disco tests
2020-01-24 14:40:40 +01:00
Vasco Santos
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
Jacob Heun
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
Vasco Santos
432b0997ae
refactor: pubsub ( #467 )
...
* feat: peer-store v0
* chore: apply suggestions from code review
Co-Authored-By: Jacob Heun <jacobheun@gmail.com>
* chore: address review
* refactor: pubsub subsystem
* chore: address review
* chore: use topology interface
* chore: address review
* chore: address review
* chore: simplify tests
2020-01-24 14:40:40 +01:00
Vasco Santos
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