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
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
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
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
Vasco Santos
093c0ea13f
feat: resolve multiaddrs before dial ( #782 )
2020-11-04 13:54:50 +01:00
Jacob Heun
06f26e586f
fix: cleanup open streams on conn close ( #791 )
2020-10-23 15:34:59 +02:00
Jacob Heun
e04224a1e2
fix: catch error in upgrader close call
2020-10-22 14:29:52 +02:00
Jacob Heun
4c6be91588
fix: ensure streams are closed on connection close
2020-10-22 14:29:52 +02:00
Vasco Santos
2fd3b0a0e5
chore: examples not using secio ( #747 )
...
* chore: examples not using secio
* chore(docs): remove unused dep
* chore(docs): remove reference of secio in setup
* chore(docs): replace circuit secio reference with noise
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-10-07 16:16:36 +02:00
Vasco Santos
ec6f7d1cfd
chore: lint issue fixed ( #775 )
2020-10-07 15:39:24 +02:00
Vasco Santos
a1053bdc54
chore: remove outdated events from libp2p js docs ( #766 )
2020-10-07 14:51:51 +02:00
Vasco Santos
0d48fc4f5a
test: use ed25519 keys in tests ( #669 )
...
* chore: use ed25519 keys in tests
* fix: persisted keybook recheck keybook content for delete
* chore: only store if key not inline
* chore: update peer id
* chore: identify wait for closed streams
2020-10-07 14:50:01 +02:00
Vasco Santos
96df4b7dc4
chore: update aegir and jsdocs for eslint changes ( #773 )
2020-10-06 14:59:43 +02:00
Jacob Heun
93dda74085
fix: peer record interop with go ( #739 )
...
* test: add go peer record interop test
* fix: correct the payload type of peer records
* chore: fix linting
* test: fix envelope test
2020-08-27 15:38:01 +02:00
Vasco Santos
55c9bfac44
feat: gossipsub 1.1 ( #733 )
...
* feat: gossipsub 1.1
BREAKING CHANGE: pubsub implementation is now directly exposed and its API was updated according to the new pubsub interface in js-libp2p-interfaces repo
* chore: use gossipsub branch with src added
* fix: add pubsub handlers adapter
* chore: fix deps
* chore: update pubsub docs and examples
* chore: apply suggestions from code review
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
* chore: use new floodsub
* chore: change validator doc set
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
* chore: add new gossipsub src
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-08-27 15:38:01 +02:00
Alex Potsides
1e869717ff
fix: replace node buffers with uint8arrays ( #730 )
...
* fix: replace node buffers with uint8arrays
Upgrades all deps and replaces all use of node Buffers with Uint8Arrays
BREAKING CHANGES:
- All deps used by this module now use Uint8Arrays in place of node Buffers
* chore: browser fixes
* chore: remove .only
* chore: stringify uint8array before parsing
* chore: update interop suite
* chore: remove ts from build command
* chore: update deps
* fix: update records to use uint8array
* chore: fix lint
* chore: update deps
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-08-27 15:38:01 +02:00
Vasco Santos
9107efe121
chore: apply suggestions from code review
...
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-08-27 15:38:01 +02:00
Vasco Santos
cd09327eb6
chore: add notice for addressBook.set
2020-08-27 15:38:01 +02:00
Vasco Santos
ca57e65ecc
chore: apply suggestions from code review
...
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-08-27 15:38:01 +02:00
Vasco Santos
f574e82a5d
chore: apply suggestions from code review
2020-08-27 15:38:01 +02:00
Vasco Santos
15613ccf19
fix: do not return self on peerstore.peers
2020-08-27 15:38:01 +02:00
Vasco Santos
74d414c21f
chore: add certified peer records to persisted peer store
2020-08-27 15:38:01 +02:00
Vasco Santos
8f2e69048f
feat: cerified addressbook
2020-08-27 15:38:01 +02:00
Vasco Santos
b0a36ccbc8
chore: apply suggestions from code review
...
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-08-27 15:38:01 +02:00
Vasco Santos
3158366579
fix: revert new identify protocol versions
2020-08-27 15:38:01 +02:00
Vasco Santos
1d318e12d8
chore: address review
2020-08-27 15:38:01 +02:00
Vasco Santos
8a97dded26
feat: create self peer record in identify
2020-08-27 15:38:01 +02:00
Vasco Santos
e50f0eeb7b
feat: exchange signed peer records in identify
2020-08-27 15:38:01 +02:00
Vasco Santos
ee57a643cc
chore: apply suggestions from code review
...
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-08-27 15:38:01 +02:00
Vasco Santos
89658dd655
chore: address review
2020-08-27 15:38:01 +02:00
Vasco Santos
4ab125e017
fix: signature compliant with spec
2020-08-27 15:38:01 +02:00
Vasco Santos
71daac24b1
chore: refactor and better docs
2020-08-27 15:38:01 +02:00
Vasco Santos
02a5095b9c
chore: apply suggestions from code review
...
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-08-27 15:38:01 +02:00
Vasco Santos
3e5d450eca
feat: signed peer records record manager
2020-08-27 15:38:01 +02:00