acolytec3
d60922b799
docs: Add bootstrap to custom peer discovery ( #859 )
2021-01-15 10:27:23 +01:00
Vasco Santos
bc05083207
docs: production guide base setup ( #804 )
2020-12-16 13:56:41 +01:00
Vasco Santos
7809e6444e
chore: auto relay configuration example with noise ( #828 )
2020-12-16 13:56:41 +01:00
Vasco Santos
7d76ba1367
docs: migration 0.29 to 0.30 ( #808 )
2020-12-16 13:56:41 +01:00
Vasco Santos
baedf3fe5a
feat: discover and connect to closest peers ( #798 )
2020-12-16 13:56:41 +01:00
Vasco Santos
585ad52b4c
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-16 13:56:41 +01:00
Vasco Santos
e50c6abcf2
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-16 13:56:41 +01:00
Vasco Santos
5758db8ea9
chore: remove noAnnounce from address manager
2020-12-16 13:56:41 +01:00
Vasco Santos
ef9d3ca2c6
feat: custom announce filter
2020-12-16 13:56:41 +01:00
Vasco Santos
97e3633f47
chore: store self protocols in protobook ( #760 )
2020-12-16 13:56:41 +01:00
Vasco Santos
ee23fb9508
chore: apply suggestions from code review
...
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-12-16 13:56:41 +01:00
Vasco Santos
11a46ea71e
chore: add configuration docs for auto relay and hop service
2020-12-16 13:56:41 +01:00
Vasco Santos
43eda43f06
chore: create signed peer record on new listen addresses in transport manager
2020-12-16 13:56:41 +01:00
Vasco Santos
7b93ece7f2
chore: use listening events to create self peer record on updates
2020-12-16 13:56:41 +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
a1300
73204958ee
docs: use Libp2p.create() in examples ( #811 ) ( #814 )
2020-11-30 11:15:09 +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
093c0ea13f
feat: resolve multiaddrs before dial ( #782 )
2020-11-04 13:54:50 +01:00
acolytec3
4c7a89b710
doc(pubsub): add topicValidators links in API.md table of contents
2020-10-12 12:57:33 +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
bb59b518f1
chore: complement 0.29 migration for pubsub subscribe ( #755 )
...
* chore: complement 0.29 migration for pubsub subscribe
* chore: update doc/migrations/v0.28-v0.29.md
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-09-16 15:46:05 +02:00
Vasco Santos
0087218194
chore: update getting started connect event ( #752 )
2020-09-14 13:23:28 +02:00
Vasco Santos
63ba2f8fa3
chore: update docs after secio deprecation announcement ( #745 )
2020-09-08 14:07:06 +02:00
Vasco Santos
cfbd52d7f7
chore: migration to 0.29 should use webrtc-star0.20
2020-08-27 15:38:01 +02:00
Vasco Santos
9be582e222
docs: migration 0.28 to 0.29 ( #736 )
...
* docs: migration 0.28 to 0.29
* chore: finish pubsub migration
* chore: add uintarray migration and modules
* chore: apply suggestions from code review
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
* chore: add uint8array module reference
* chore: rename files
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
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
89658dd655
chore: address review
2020-08-27 15:38:01 +02:00
Vasco Santos
689f90a698
revert: reapply "fix: throw if no conn encryption module provided ( #665 )"
...
This reapplies commit b621fbdfdc1844343c513ac40d4389e8beee714e.
2020-08-27 15:38:01 +02:00
Vasco Santos
0e3cc5866b
docs: update peer store api with metadata ( #735 )
2020-08-21 13:03:29 +02:00
Alan Shaw
4851680c4d
docs: link to official streaming iterables document ( #729 )
2020-08-06 13:23:18 +02:00
Jacob Heun
51d7ca44c1
feat(keychain): add support for ed25519 and secp keys ( #725 )
...
* feat(keychain): add support for ed25519 and secp keys
* chore: bump crypto
* refactor: cleanup keychain usage
2020-08-05 18:19:10 +02:00
Vasco Santos
cea59a1fe4
docs: update addressBook get and getMultiaddrsForPeer return values ( #716 )
2020-07-20 16:17:39 +02:00
Vasco Santos
3896941128
docs: use tag for webrtc-star discovery config ( #713 )
2020-07-20 14:51:24 +02:00
Vasco Santos
9ccab40fc8
fix: not dial all known peers in parallel on startup ( #698 )
...
* fix: not dial all known peers on startup
* feat: connection manager should proactively connect to peers from peerStore
* chore: increase bundle size
* fix: do connMgr proactive dial on an interval
* chore: address review
* chore: use retimer reschedule
* chore: address review
* fix: use minConnections in default config
* chore: minPeers to minConnections everywhere
2020-07-14 16:05:26 +02:00
Vasco Santos
08a4fad80b
chore: add modules to update in 0.28.x migration ( #695 )
2020-07-08 14:12:40 +02:00
Jacob Heun
5cd8c19567
docs(fix): update link to ipfs config files ( #690 )
2020-07-07 12:56:17 +02:00
Francis Gulotta
9bec719fce
docs(fix): link to streaming-iterables' repo ( #688 )
2020-07-02 13:34:01 +02:00
Jacob Heun
b621fbdfdc
revert: "fix: throw if no conn encryption module provided ( #665 )"
...
This reverts commit c038550fad5b285528d87427fc5fa37ba2b0ba3f.
2020-06-15 12:45:49 +02:00
Vasco Santos
c038550fad
fix: throw if no conn encryption module provided ( #665 )
...
* fix: throw if no conn encryption module provided
* chore: address review
* chore: apply suggestions from code review
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-06-11 12:49:32 +02:00
Vasco Santos
698c1df1b4
feat: support dial only on transport manager to tolerate errors ( #643 )
...
* feat: support dial only on transport manager to tolerate errors
* chore: address review
* chore: add jsdoc to transport manager tolerance errors
2020-05-28 12:37:48 +02:00
Cayman
7f4662f8d8
chore: fix api formatting ( #644 )
2020-05-28 12:37:48 +02:00
Vasco Santos
84b935f682
feat: metadata book ( #638 )
...
* feat: metadata book
* chore: address review
* chore: address review
2020-05-28 12:37:48 +02:00
Vasco Santos
56316b8c1e
docs: migration 0.27 to 0.28 ( #637 )
...
* docs: migration 0.27 to 0.28
* chore: apply suggestions from code review
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-05-28 12:37:48 +02:00
Vasco Santos
eb7adcf1ab
docs: libp2p components options specified
2020-05-28 12:37:48 +02:00
Vasco Santos
0be74e6a61
chore: apply suggestions from code review
...
Co-authored-by: Jacob Heun <jacobheun@gmail.com>
2020-05-28 12:37:48 +02:00
Vasco Santos
6065923356
chore: integrate libp2p-keychain into js-libp2p ( #633 )
...
Integrates the libp2p-keychain codebase into this repo
2020-05-28 12:37:48 +02:00