b0f124b5ff
fix: pubsub configuration ( #404 )
...
* fix: add pubsub default config (#401 )
License: MIT
Signed-off-by: Matthias Knopp <matthias-knopp@gmx.net >
* docs: add default pubsub config to README (#401 )
License: MIT
Signed-off-by: Matthias Knopp <matthias-knopp@gmx.net >
* fix: pass config to provided PubSub (#401 )
License: MIT
Signed-off-by: Matthias Knopp <matthias-knopp@gmx.net >
* docs: adapt pubsub/example for new config (#401 )
License: MIT
Signed-off-by: Matthias Knopp <matthias-knopp@gmx.net >
* Update examples/pubsub/README.md
Co-Authored-By: Jacob Heun <jacobheun@gmail.com >
* test: add pubsub config tests (#401 )
License: MIT
Signed-off-by: Matthias Knopp <matthias-knopp@gmx.net >
2019-08-19 17:06:08 +02:00
b294301456
refactor: add core modules to libp2p ( #400 )
...
* refactor: add js-libp2p-connection-manager to repo
Co-authored-by: David Dias <daviddias.p@gmail.com >
Co-authored-by: Jacob Heun <jacobheun@gmail.com >
Co-authored-by: Pedro Teixeira <i@pgte.me >
Co-authored-by: Vasco Santos <vasco.santos@ua.pt >
* test(conn-mgr): only run in node
* refactor: add js-libp2p-identify to repo
Co-authored-by: David Dias <daviddias.p@gmail.com >
Co-authored-by: Friedel Ziegelmayer <dignifiedquire@gmail.com >
Co-authored-by: Hugo Dias <hugomrdias@gmail.com >
Co-authored-by: Jacob Heun <jacobheun@gmail.com >
Co-authored-by: Maciej Krüger <mkg20001@gmail.com >
Co-authored-by: Richard Littauer <richard.littauer@gmail.com >
Co-authored-by: Vasco Santos <vasco.santos@moxy.studio >
Co-authored-by: Yusef Napora <yusef@protocol.ai >
Co-authored-by: ᴠɪᴄᴛᴏʀ ʙᴊᴇʟᴋʜᴏʟᴍ <victorbjelkholm@gmail.com >
* refactor: add libp2p-pnet to repo
Co-authored-by: Jacob Heun <jacobheun@gmail.com >
Co-authored-by: Vasco Santos <vasco.santos@moxy.studio >
* refactor: add libp2p-ping to repo
Co-authored-by: David Dias <daviddias.p@gmail.com >
Co-authored-by: Francisco Baio Dias <xicombd@gmail.com >
Co-authored-by: Friedel Ziegelmayer <dignifiedquire@gmail.com >
Co-authored-by: Hugo Dias <mail@hugodias.me >
Co-authored-by: Jacob Heun <jacobheun@gmail.com >
Co-authored-by: João Antunes <j.goncalo.antunes@gmail.com >
Co-authored-by: Richard Littauer <richard.littauer@gmail.com >
Co-authored-by: Vasco Santos <vasco.santos@moxy.studio >
Co-authored-by: Vasco Santos <vasco.santos@ua.pt >
Co-authored-by: ᴠɪᴄᴛᴏʀ ʙᴊᴇʟᴋʜᴏʟᴍ <victorbjelkholm@gmail.com >
* refactor: add libp2p-circuit to repo
Co-authored-by: David Dias <daviddias.p@gmail.com >
Co-authored-by: Dmitriy Ryajov <dryajov@gmail.com >
Co-authored-by: Friedel Ziegelmayer <dignifiedquire@gmail.com >
Co-authored-by: Hugo Dias <mail@hugodias.me >
Co-authored-by: Jacob Heun <jacobheun@gmail.com >
Co-authored-by: Maciej Krüger <mkg20001@gmail.com >
Co-authored-by: Oli Evans <oli@tableflip.io >
Co-authored-by: Pedro Teixeira <i@pgte.me >
Co-authored-by: Vasco Santos <vasco.santos@ua.pt >
Co-authored-by: Victor Bjelkholm <victorbjelkholm@gmail.com >
Co-authored-by: Yusef Napora <yusef@napora.org >
Co-authored-by: dirkmc <dirk@mccormick.cx >
* test(switch): avoid using instanceof
* chore(switch): update bignumber dep
* refactor(circuit): clean up tests
* refactor(switch): consolidate get peer utils
* test(identify): do deep checks of addresses
* test(identify): bump timeout for identify test
* test(switch): tidy up limit dialer test
* refactor(switch): remove redundant circuit tests
* chore: add coverage script
* refactor(circuit): consolidate get peer info
* docs: reference original repositories in each sub readme
* docs: fix comment
* refactor: clean up sub package.json files and readmes
2019-08-16 17:30:03 +02:00
f4f3f0f03a
fix: pubsub default config ( #393 )
...
* docs: update browser example pubsub
* docs: fix pubsub example config
* fix: make pubsub default to enabled
This allows for only adding the module to have it enabled. Previously you would have to supply and enable the module which is unncessary for users
2019-07-31 18:47:30 +02:00
48b1b442e9
docs: libp2p in browser example ( #390 )
...
* docs: improve browser example
* docs: remove bad ipfs link
2019-07-30 12:38:02 +02:00
4cb541ddae
docs: update examples for latest libp2p rc ( #353 )
...
* docs: update chat example readme
* docs: update discovery test for autodial
* docs: fix delegated routing example
* docs: update echo example readme
* docs: fix libp2p in the browser example
* docs: update examples for peer/content routing
* docs: update the pubsub example
2019-04-11 15:52:04 +02:00
4ed5c039fc
chore: change from ipfs to p2p protocol ( #315 )
...
https://github.com/multiformats/js-multiaddr/pull/76 changed the
default protocol from ipfs to p2p.
js-multiaddr is a transitive dependency of peer-info, so in order
to get this change, we had to bump the version of peer-info.
* fix: revert ipfs -> p2p change for some tests
As per PR feedback. Needed for backwards-compatibility.
2019-02-05 19:59:42 +01:00
b31690c8e6
docs: add install dependencies
2019-01-07 15:07:42 -07:00
581a1de472
docs: merge example links: Peer and Content Routing ( #285 )
2018-11-20 13:40:38 +01:00
320d84f541
docs: update examples ( #271 )
...
* docs: fix examples
* chore: remove non jenkins ci files
* chore: update libp2p-spdy
* chore: update libp2p-spdy
* docs: update example language
2018-11-14 18:50:17 +01:00
9518eb44b3
docs: improve browser example connectability ( #240 )
2018-10-31 14:42:24 +01:00
0b75f99d75
feat: make libp2p a state machine ( #257 )
...
* docs: add events to readme
2018-10-19 17:37:34 +02:00
a95389a28e
feat: add delegated peer and content routing support ( #242 )
...
* feat: allow for configuring content and peer routing
* feat: support multiple peer and content routing modules
* docs: add delegated routing example
2018-10-19 16:28:28 +02:00
6905f1ba41
feat: (BREAKING CHANGE) overhaul libp2p config and constructor
...
* docs: update chat example and add info to its readme
* docs: update echo example
* docs: update libp2p in browser example
* docs: update pubsub example
* docs: update peer and content routing examples
* docs: update discovery mechanisms example
* docs: update encrypted comms example
* docs: update protocol and stream muxing example
* feat: add config validation
* test: update CI configs, use only node 8
2018-06-28 10:06:25 +02:00
1790ded144
docs: Minor fixes in Transport example readme ( #199 )
...
* docs: Fixes typos, adds instructions
* docs: adds .md bash syntax highlight
2018-06-04 09:56:57 +01:00
5042e09bb4
docs: typo in examples readme.md
2018-04-30 15:29:12 +01:00
bca86873cc
docs: enable missing syntax highlighting ( #178 )
...
Enable missing syntax highlighting for example code in `discovery-mechanisms/README.md`.
2018-03-20 21:43:56 -07:00
2e40e9dda1
docs: update echo and chat examples to use libp2p-switch ( #174 )
2018-03-06 13:25:55 +01:00
e531b1bf3d
docs: fix pubsub example, solves #167
2018-02-22 07:06:21 +00:00
b871bb0a1a
docs: update examples to use libp2p-mplex module
2018-02-19 09:58:08 +00:00
379febb610
chore: fix linting and move linting to circle
2018-02-16 19:23:35 +01:00
99873e877b
docs: update pubsub example
2018-02-16 19:23:35 +01:00
8fcafe2d90
docs: update pubsub example
2018-02-16 19:23:35 +01:00
0062a4b5eb
docs: update examples
2018-02-07 08:37:03 +00:00
248d86d050
fix typo ( #152 )
2018-01-27 23:26:57 -08:00
8225b11082
fix typo ( #153 )
2018-01-27 23:26:52 -08:00
1355af2b51
docs: fix typos ( #154 )
2018-01-27 23:26:46 -08:00
dc2da39a19
docs: tcp/443 on webrtc-star example. ( #147 )
...
according to https://github.com/libp2p/js-libp2p-webrtc-star/issues/134 and my own fiddling with this example.
2018-01-06 14:28:20 +00:00
582f8bed2e
docs: fix links on examples peer and content routing ( #141 )
2017-12-18 09:53:30 +00:00
87ddc25bee
chore: update example
2017-11-04 16:44:09 +00:00
efb2b67f19
chore: update example
2017-11-04 16:25:58 +00:00
7c0b4daf49
chore: update deps on browser example
2017-11-04 16:21:11 +00:00
df4d60df88
docs(examples): update browser /wss bootstrap list ( #129 )
2017-10-26 12:52:01 +01:00
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
468cc421fa
docs: update README.md ( #124 )
2017-10-22 10:19:50 +01:00
0b991e19d1
docs(examples): fix peer-content routing example scripts ( #126 ). ( #127 )
2017-10-22 10:19:16 +01:00
19ce266f1b
chore: update deps and readme of browser example
2017-08-24 10:58:06 +01:00
b674bccfc2
chane three links~ 😉 ( #115 )
2017-07-31 02:35:21 -07:00
4ae8e43b8b
Fix transport example ( #114 )
...
* fix the readme of transport-example-1
* change wrong node.isOn to node.isStarted()
2017-07-31 02:35:08 -07:00
43345cee6d
docs(examples): PubSub 1 and 2 ( #103 )
2017-07-20 19:42:32 -07:00
06eb7a19f3
docs(examples): Peer and Content Routing 1 and 2 ( #107 )
2017-07-20 14:19:36 -07:00
019cd4715d
docs(examples): fix dial function name and multiaddr variable name in echo and chat dialer/listener examples ( #109 )
2017-07-11 07:39:57 +01:00
7ef1c0a598
docs(examples): libp2p in the browser 1
2017-07-09 16:52:37 +01:00
39145e9a91
docs(examples): Peer Discovery Mechanisms 1, 2 and 3
2017-07-09 11:08:06 +01:00
f583b1b2cd
docs(examples): encrypted communicationsls
2017-07-07 20:28:11 +01:00
5f5ee98a50
docs(examples): protocols and stream muxing 1, 2 and 3
2017-07-07 18:46:35 +01:00
7df0074667
docs: add disclaimers for each example
2017-07-07 16:02:32 +01:00
b14a2ff717
docs(examples): transports 4
2017-07-07 15:49:14 +01:00
7b78736e24
docs(examples): transports 3
2017-07-07 15:44:06 +01:00
2b02be08f7
docs(examples): transports 2
2017-07-07 14:37:41 +01:00
32cb59fa18
docs(examples): transports 1
2017-07-07 14:37:41 +01:00