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

Commit 8e3ea44

Browse files
Mr0grogdaviddias
authored andcommitted
docs: Describe when and why to use init: false (#1263)
1 parent 92f5266 commit 8e3ea44

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,8 @@ const repo = <IPFS Repo instance or repo path>
196196
const node = new IPFS({
197197
repo: repo,
198198
init: true, // default
199-
// init: false,
199+
// init: false, // You will need to set init: false after time you start instantiate a node as
200+
// // the repo will be already initiated then.
200201
// init: {
201202
// bits: 1024 // size of the RSA key generated
202203
// },

0 commit comments

Comments
 (0)