Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Describe when and why to use init: false #1263

Merged
merged 2 commits into from
Mar 24, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ const repo = <IPFS Repo instance or repo path>
const node = new IPFS({
repo: repo,
init: true, // default
// init: false,
// init: false, // You will need to set init: false after time you start instantiate a node as
// // the repo will be already initiated then.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Mr0grog what about this? :)

// init: {
// bits: 1024 // size of the RSA key generated
// },
Expand Down