- 
                Notifications
    You must be signed in to change notification settings 
- Fork 44
Update 01_Basics.md #146
base: main
Are you sure you want to change the base?
Update 01_Basics.md #146
Conversation
Update outdated name of pubsub option
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This follows the documentation of the options.EXPERIMENTAL.
| 
 | 
| Yes. See the CHANGELOG.md 0.38.0-rc.0. I think that in this case the entire thing should be removed. | 
| preload: { enabled: false }, | ||
| repo: './ipfs', | ||
| EXPERIMENTAL: { pubsub: true }, | ||
| EXPERIMENTAL: { ipnsPubsub: true }, | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest removing this line, if pubsub is now enabled by default.
| default setting is a folder called `.jsipfs` in your home directory. You will see why we choose this specific location for the | ||
| folder later. | ||
| - `EXPERIMENTAL: { pubsub: true }` enables [IPFS pubsub](https://blog.ipfs.io/25-pubsub/), which is a method of communicating between nodes and **is required for OrbitDB usage**, despite whether or not we are connected to other peers. | ||
| - `EXPERIMENTAL: { ipnsPubsub: true }` enables [IPFS pubsub](https://blog.ipfs.io/25-pubsub/), which is a method of communicating between nodes and **is required for OrbitDB usage**, despite whether or not we are connected to other peers. | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps this could be removed and a note added somewhere else, about how OrbitDB uses PubSub.
(Maybe in the Introduction).
| Is the  | 
| 
 I'm going to assume so because swarm peers is disabled if in offline mode. | 
Update outdated name of pubsub option