244 Commits

Author SHA1 Message Date
Pedro Teixeira
d5972045da feat: set and hook up libp2p-connection-manager (#184) 2018-06-20 11:19:37 +01:00
Diogo Silva
bb0c9905ed feat: use class-is for type checks 2018-04-05 19:47:02 +01:00
Pedro Teixeira
2c04a71007 stats: exposed and documented 2018-03-15 08:09:56 -07:00
David Dias
4e01c094bc test: test pubsub on and off 2018-02-16 19:23:35 +01:00
David Dias
947eaf166b fix: use correct reference to floodSub 2018-02-16 19:23:35 +01:00
David Dias
1ebf725ac4 docs: add docs 2018-02-16 19:23:35 +01:00
David Dias
0c543b7180 feat: add pubsub to libp2p 2018-02-16 19:23:35 +01:00
David Dias
f7f85dce0a test: update tests to new API 2018-02-07 08:37:03 +00:00
David Dias
6651401f0b feat: dialProtocol and small refactor 2018-02-07 08:37:03 +00:00
David Dias
23e8293b75 feat: use libp2p-switch 2018-02-07 07:31:10 +00:00
Chris Dostert
bd8a35aaf9 feat: add explicit error for case peer id not included in multiaddr (#155) 2018-02-05 12:36:20 +01:00
Irakli Gozalishvili
61bebd10fc fix: typo in DHT setup (#151)
I think there was a typo that would have ignored passed options and fallback to defaults for DHT datastore.
2018-01-16 05:58:12 -08:00
David Dias
190ad54f9e
PDD Compliance Tests (#137)
* transport story 1 done

* c

* transport series 2

* transports story 3

* the ipfs-bundle story 1
2017-12-18 10:23:34 +00:00
Pedro Teixeira
c88eaf416c fix: prevent "The libp2p node is not started yet" when stopping (#138) 2017-12-15 07:08:44 +00:00
Pedro Teixeira
1b7360fcfa fix: remove innactive multiaddrs (#131) 2017-12-14 07:27:13 +00:00
Dmitriy Ryajov
29cc0afc64 feat: enable and test Circuit Relay
* feat: new super simplified API

* feat: append peer id to multiaddr if not there

* [WIP] Awesome DHT (#86)

* feat: integrate dht

* better interfaces

* docs: add documentation for peerRouting, contentRouting, dht

* fix: take in passed datastore

* fix: update usage of _getPeerInfo

* fix: getPeerInfo

* docs: update docs

* moar

feat: correctly handle p2p-circuit addrs when creating a peer info object

refactor: rework config options

* feat: adding circuit relaying

* feat: rework circuit relay for protobufs

* feat: circuit loading and tests

* fix: clean up _getPeerInfo to work with /p2p-circuit

* wip: tests cleaup

* test: clean up

* wip

* fix: bringing back test reworks and new aegir

* test: group tests

* test: clean up

* test: adjust test

* fix: use getPeerId to determine if the ipfs fragment is missing

* feat: adding circuit relaying

* feat: circuit loading and tests

* test: clean up

* wip

* feat: upgrade to latest aegir

* fix: removing unused tests

* feat: cleanup tests

* fix: create node defautl options

* chore: upgrade swarm to latest version

* fix: updated aegir and adjust timeouts

* feat: more timeouts

* chore: updating deps

* fix: circle ci builds

* test: timeouts
2017-10-26 12:51:36 +01:00
David Dias
06eb7a19f3 docs(examples): Peer and Content Routing 1 and 2 (#107) 2017-07-20 14:19:36 -07:00
David Dias
c8f4eaf982 chore: update deps 2017-07-20 11:18:34 -07:00
David Dias
32cb59fa18 docs(examples): transports 1 2017-07-07 14:37:41 +01:00
Pedro Teixeira
73f2f6d050 feat: state events and query changes (#100) 2017-07-07 12:56:46 +01:00
David Dias
2e326e1619 fix: do not use assert in async funcs (#88) 2017-04-16 16:54:31 +01:00
Friedel Ziegelmayer
8aa932a491 [WIP] Awesome DHT (#86)
* feat: integrate dht

* better interfaces

* docs: add documentation for peerRouting, contentRouting, dht

* fix: take in passed datastore

* fix: update usage of _getPeerInfo

* fix: getPeerInfo

* docs: update docs

* moar
2017-04-06 15:45:23 -04:00
David Dias
031ecb3fe7 fix: correct method on peer-book 2017-03-31 16:17:59 +01:00
David Dias
dee0340806 chore: update to latest peer-info, peer-book and libp2p-swarm 2017-03-31 15:52:20 +01:00
David Dias
a4b41b0f9a feat: not remove peer from peerBook on disconnect 2017-03-30 07:20:45 +01:00
David Dias
291e79fc99 fix: addition of ipfs id appendix must come before transport filtering 2017-03-29 21:02:37 +01:00
David Dias
59ea9c388f feat: append peer id to multiaddr if not there 2017-03-29 20:02:54 +01:00
David Dias
300936f2f3 fix: avoid deleting nodes from peerBook 2017-03-29 18:03:00 +01:00
David Dias
f73c045767 feat: update events to conform with #74 2017-03-29 07:32:46 +01:00
David Dias
d27bd2b912 cr 2017-03-27 15:43:08 +01:00
David Dias
2c23d9a718 fix: last touches 2017-03-27 14:42:05 +01:00
David Dias
a6623c1ba2 feat: new super simplified API 2017-03-27 12:26:34 +01:00
David Dias
11c21b6999 fix: use async.setImmediate 2017-02-10 19:28:34 -08:00
David Dias
a01b9479eb fix: remove unnecessary log 2017-01-28 21:20:16 +00:00
David Dias
5dd5d37f6a feat: new discovery interface 2017-01-28 21:14:04 +00:00
David Dias
2cdd7033f0 add options 2016-12-11 12:03:21 -08:00
David Dias
f8c09db20f feat: add ping to the mix 2016-12-01 11:53:27 +00:00
David Dias
0c87dbc8f3 feat: export Node class at the top level 2016-11-28 10:38:40 +00:00
David Dias
40fdc4147c feat: support websockets, even if no listener is added 2016-11-27 18:20:25 +00:00
David Dias
5d0b25cb00 feat: create base libp2p.Node class 2016-11-26 03:07:52 +01:00
dignifiedquire
f08dbbc8a9 Use dignified.js 2016-03-23 15:30:14 +01:00
David Dias
c4b6de1db6 notes
License: MIT
Signed-off-by: David Dias <daviddias.p@gmail.com>
2015-12-11 21:21:07 -08:00
David Dias
03cc2c28fb Initial version, readme docs, expectations, and so on 2015-09-27 00:14:40 +01:00
David Dias
32cac8b0c2 to reserve the name 2015-09-20 16:18:34 +01:00