-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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. |
@@ -120,7 +120,7 @@ class NewPiecePlease { | |||
this.node = await this.Ipfs.create({ | |||
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.
@@ -165,7 +165,7 @@ for now, we include this line to disable them. | |||
- `repo: './ipfs'` designates the path of the repo in Node.js only. In the browser, you can actually remove this line. The | |||
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