53 Commits

Author SHA1 Message Date
Thomas Eizinger
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
Soeren
b31690c8e6 docs: add install dependencies 2019-01-07 15:07:42 -07:00
Marcin Tojek
581a1de472 docs: merge example links: Peer and Content Routing (#285) 2018-11-20 13:40:38 +01:00
Jacob Heun
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
Jacob Heun
9518eb44b3
docs: improve browser example connectability (#240) 2018-10-31 14:42:24 +01:00
Jacob Heun
0b75f99d75
feat: make libp2p a state machine (#257)
* docs: add events to readme
2018-10-19 17:37:34 +02:00
Jacob Heun
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
David Dias
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
João Santos
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
Florian-Merle
5042e09bb4 docs: typo in examples readme.md 2018-04-30 15:29:12 +01:00
Sönke Hahn
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
Zane Starr
2e40e9dda1 docs: update echo and chat examples to use libp2p-switch (#174) 2018-03-06 13:25:55 +01:00
David Dias
e531b1bf3d docs: fix pubsub example, solves #167 2018-02-22 07:06:21 +00:00
David Dias
b871bb0a1a docs: update examples to use libp2p-mplex module 2018-02-19 09:58:08 +00:00
David Dias
379febb610 chore: fix linting and move linting to circle 2018-02-16 19:23:35 +01:00
David Dias
99873e877b docs: update pubsub example 2018-02-16 19:23:35 +01:00
David Dias
8fcafe2d90 docs: update pubsub example 2018-02-16 19:23:35 +01:00
David Dias
0062a4b5eb docs: update examples 2018-02-07 08:37:03 +00:00
Chris Dostert
248d86d050 fix typo (#152) 2018-01-27 23:26:57 -08:00
Chris Dostert
8225b11082 fix typo (#153) 2018-01-27 23:26:52 -08:00
Chris Dostert
1355af2b51 docs: fix typos (#154) 2018-01-27 23:26:46 -08:00
Giovanni T. Parra
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
Tiago Alves
582f8bed2e docs: fix links on examples peer and content routing (#141) 2017-12-18 09:53:30 +00:00
David Dias
87ddc25bee chore: update example 2017-11-04 16:44:09 +00:00
David Dias
efb2b67f19 chore: update example 2017-11-04 16:25:58 +00:00
David Dias
7c0b4daf49 chore: update deps on browser example 2017-11-04 16:21:11 +00:00
Lars Gierth
df4d60df88 docs(examples): update browser /wss bootstrap list (#129) 2017-10-26 12:52:01 +01: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
Ryan Bell
468cc421fa docs: update README.md (#124) 2017-10-22 10:19:50 +01:00
Nuno Nogueira
0b991e19d1 docs(examples): fix peer-content routing example scripts (#126). (#127) 2017-10-22 10:19:16 +01:00
David Dias
19ce266f1b chore: update deps and readme of browser example 2017-08-24 10:58:06 +01:00
Elven
b674bccfc2 chane three links~😉 (#115) 2017-07-31 02:35:21 -07:00
Elven
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
David Dias
43345cee6d docs(examples): PubSub 1 and 2 (#103) 2017-07-20 19:42:32 -07:00
David Dias
06eb7a19f3 docs(examples): Peer and Content Routing 1 and 2 (#107) 2017-07-20 14:19:36 -07:00
Chris Bratlien
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
David Dias
7ef1c0a598 docs(examples): libp2p in the browser 1 2017-07-09 16:52:37 +01:00
David Dias
39145e9a91 docs(examples): Peer Discovery Mechanisms 1, 2 and 3 2017-07-09 11:08:06 +01:00
David Dias
f583b1b2cd docs(examples): encrypted communicationsls 2017-07-07 20:28:11 +01:00
David Dias
5f5ee98a50 docs(examples): protocols and stream muxing 1, 2 and 3 2017-07-07 18:46:35 +01:00
David Dias
7df0074667 docs: add disclaimers for each example 2017-07-07 16:02:32 +01:00
David Dias
b14a2ff717 docs(examples): transports 4 2017-07-07 15:49:14 +01:00
David Dias
7b78736e24 docs(examples): transports 3 2017-07-07 15:44:06 +01:00
David Dias
2b02be08f7 docs(examples): transports 2 2017-07-07 14:37:41 +01:00
David Dias
32cb59fa18 docs(examples): transports 1 2017-07-07 14:37:41 +01:00
David Dias
53cce8d8f6 docs: list examples 2017-07-07 14:37:16 +01:00
David Dias
547c4dbd33 docs: refactor examples (#96) 2017-07-05 12:12:51 +01:00
David Dias
606fa737b8 WIP - feat: convergence (#94)
* feat: convergence

* structure examples
2017-07-04 11:43:45 +01:00
David Dias
3db3dca98b docs: update examples folder 2016-11-27 18:23:50 +00:00
David Dias
57c85fe346 chore: update oldie package.json 2016-11-25 20:08:05 +00:00