You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/CONFIGURATION.md
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -93,8 +93,6 @@ Some available stream multiplexers are:
93
93
94
94
Some transports such as WebRTC and WebTransport come with their own built-in stream multiplexing capabilities.
95
95
96
-
If you configure multiple muxers for use in your application, js-libp2p will choose the first muxer in the list. Therefore, ordering matters.
97
-
98
96
If none of the available stream multiplexers fulfills your needs, you can create a libp2p compatible stream multiplexer. A libp2p multiplexer just needs to be compliant with the [Stream Muxer Interface](https://github.com/libp2p/js-interfaces/tree/master/src/stream-muxer).
99
97
100
98
If you want to know more about libp2p stream multiplexing, you should read the following content:
@@ -103,6 +101,10 @@ If you want to know more about libp2p stream multiplexing, you should read the f
If you configure multiple muxers for use in your application, js-libp2p will choose the first muxer in the list. Therefore, ordering matters.
107
+
106
108
### Connection Encryption
107
109
108
110
> A connection encryption mechanism must be used, in order to ensure all exchanged data between two peers is encrypted.
@@ -590,7 +592,7 @@ Libp2p allows you to setup a secure keychain to manage your keys. The keychain c
590
592
| pass |`string`| Passphrase to use in the keychain (minimum of 20 characters). |
591
593
| dek |`DEKConfig`| the default options for generating the derived encryption key, which, along with the passphrase are input to the PBKDF2 function. For more info see: https://github.com/libp2p/js-libp2p-keychain|
592
594
593
-
The keychain will store keys encrypted in the datastore which default is an in memory datastore. If you want to store the keys on disc you need to initialize libp2p with a suitable datastore implementation.
595
+
The keychain will store keys encrypted in the datastore which default is an in memory datastore. If you want to store the keys on disc you need to initialize libp2p with a suitable datastore implementation.
0 commit comments