886 Commits

Author SHA1 Message Date
Vasco Santos
4bbd915a6d docs: production guide base setup (#804) 2020-12-10 15:36:49 +01:00
Vasco Santos
64124f17ed chore: add typedefs (#802) 2020-12-10 15:36:07 +01:00
Vasco Santos
117f2b97b0 chore: auto relay configuration example with noise (#828) 2020-12-10 15:23:26 +01:00
Vasco Santos
bbdaae17ae chore: update pubsub example by disabled emit self (#823) 2020-12-10 15:23:26 +01:00
Vasco Santos
7461d2a642 docs: migration 0.29 to 0.30 (#808) 2020-12-10 15:23:26 +01:00
Vasco Santos
f82a972ab2 chore: use set-delayed-interval module on circuit (#809) 2020-12-10 15:23:26 +01:00
Vasco Santos
b73106eba2 feat: discover and connect to closest peers (#798) 2020-12-10 15:23:26 +01:00
Vasco Santos
6b434aeaf7 chore: update websockets (#806)
* chore: update websockets
2020-12-10 15:23:26 +01:00
Vasco Santos
44f07033fe docs: auto relay example (#795)
* chore: auto relay example

* chore: update examples to use process arguments

* chore: add test setup for node tests and test for auto-relay

* chore: apply suggestions from code review

* chore: do not use promise for multiaddrs event on example
2020-12-10 15:23:26 +01:00
Vasco Santos
91b15b6790 feat: custom dialer addr sorter (#792)
* feat: custom dialer addr sorter

* chore: use libp2p utils sorter via addressBook getMultiaddrsForPeer

* chore: use new libp2p utils

* chore: apply suggestions from code review

Co-authored-by: Jacob Heun <jacobheun@gmail.com>

Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-12-10 15:23:26 +01:00
Vasco Santos
9205fce34d chore: update pubsub (#801)
BREAKING CHANGE: pubsub signing policy properties were changed according to libp2p-interfaces changes to a single property. The emitSelf option default value was also modified to match the routers value
2020-12-10 15:23:26 +01:00
Vasco Santos
a4e858cbf5 test: custom announce filter 2020-12-10 15:23:26 +01:00
Vasco Santos
3f1dc20caf fix: remove test/dialing/utils extra file 2020-12-10 15:23:26 +01:00
Vasco Santos
8351adff2b chore: update address manager readme 2020-12-10 15:23:26 +01:00
Vasco Santos
22e41f5047 chore: remove noAnnounce from address manager 2020-12-10 15:23:26 +01:00
Vasco Santos
48476d504a feat: custom announce filter 2020-12-10 15:23:26 +01:00
Vasco Santos
186f9b758e chore: store self protocols in protobook (#760) 2020-12-10 15:23:26 +01:00
Vasco Santos
20d9d98b3a chore: improve logging for auto relay active listen 2020-12-10 15:20:37 +01:00
Vasco Santos
87dcd2ec47 chore: sort relay addresses to listen for public first 2020-12-10 15:20:37 +01:00
Vasco Santos
b87d42c074 chore: lint issues fixed 2020-12-10 15:20:37 +01:00
Vasco Santos
df5fe0e3ab chore: apply suggestions from code review
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-12-10 15:20:37 +01:00
Vasco Santos
5d79a137ee chore: add configuration docs for auto relay and hop service 2020-12-10 15:20:37 +01:00
Vasco Santos
8b6c738937 chore: address review 2020-12-10 15:20:37 +01:00
Vasco Santos
9faf1bfcf6 feat: auto relay network query for new relays 2020-12-10 15:20:37 +01:00
Vasco Santos
f9235e2ff6 chore: lint issue fixed 0.30 2020-12-10 15:20:12 +01:00
Vasco Santos
f9786c8ab8 chore: address review 2020-12-10 15:20:12 +01:00
Vasco Santos
b45ef6aa54 chore: add identify test for multiaddr change 2020-12-10 15:19:38 +01:00
Vasco Santos
d79ef8420e chore: create signed peer record on new listen addresses in transport manager 2020-12-10 15:19:06 +01:00
Vasco Santos
fba9457011 chore: use listening events to create self peer record on updates 2020-12-10 15:18:27 +01:00
Vasco Santos
c22508c3e4 chore: _isStarted is false when stop starts 2020-12-10 15:17:01 +01:00
Vasco Santos
0ac8252b4c chore: auto relay multiaddr update push 2020-12-10 15:17:01 +01:00
Vasco Santos
65ec267e7f feat: auto relay (#723)
* feat: auto relay

* fix: leverage protoBook events to ask relay peers if they support hop

* chore: refactor disconnect

* chore: do not listen on a relayed conn

* chore: tweaks

* chore: improve _listenOnAvailableHopRelays logic

* chore: default value of 1 to maxListeners on auto-relay
2020-12-10 15:17:01 +01:00
Jacob Heun
48656712ea
chore: release version v0.29.4 v0.29.4 2020-12-09 16:42:21 +01:00
Jacob Heun
1a5ae74741
chore: update contributors 2020-12-09 16:42:20 +01:00
Smite Chow
8691465a52
feat: support custom listener options (#822)
* support custom listener options

* fix get listener options

* add doc to explain custom listener options

* add ut

* fix code style

* Apply suggestions from code review

Co-authored-by: Vasco Santos <vasco.santos@ua.pt>

* add missing comma

Co-authored-by: Vasco Santos <vasco.santos@ua.pt>
2020-12-09 16:31:17 +01:00
Vasco Santos
6350a187c7
fix: dial self (#826) 2020-12-09 16:13:25 +01:00
Michael Burns
8e3bb09279
chore: remove references to Solarnet (#820)
Co-authored-by: Vasco Santos <vasco.santos@ua.pt>
2020-12-01 19:10:47 +01:00
a1300
73204958ee
docs: use Libp2p.create() in examples (#811) (#814) 2020-11-30 11:15:09 +01:00
a1300
e9e4b731a5
docs: fix JSDOc for stop and create (#812) (#813) 2020-11-27 10:50:35 +01:00
Vasco Santos
d0a9fada32
feat: custom and store self agent version + store self protocol version (#800)
* feat: custom and store self protocol and agent version

* fix: do not enable custom protocolVersion
2020-11-20 15:14:01 +01:00
Samlior
824a444f56
docs(fix): fix contentRouting.getMany (#803) 2020-11-18 10:28:43 +01:00
Vasco Santos
fef54b2b2c chore: release version v0.29.3 v0.29.3 2020-11-04 14:05:08 +01:00
Vasco Santos
8f29a667a1 chore: update contributors 2020-11-04 14:05:08 +01:00
Vasco Santos
093c0ea13f
feat: resolve multiaddrs before dial (#782) 2020-11-04 13:54:50 +01:00
Jacob Heun
61c36f9e09
chore: release version v0.29.2 v0.29.2 2020-10-23 15:40:54 +02:00
Jacob Heun
f82da56901
chore: update contributors 2020-10-23 15:40:53 +02:00
Jacob Heun
06f26e586f
fix: cleanup open streams on conn close (#791) 2020-10-23 15:34:59 +02:00
Jacob Heun
8879634363
chore: release version v0.29.1 v0.29.1 2020-10-22 14:33:29 +02:00
Jacob Heun
4a80afce8f
chore: update contributors 2020-10-22 14:33:28 +02:00
Jacob Heun
f75ae341bb test: lock ci on node 14 2020-10-22 14:29:52 +02:00