Skip to content

Commit 5a3cf14

Browse files
committedDec 20, 2022
README: Mention the --demo-mode parameter needed to run a sandbox.
1 parent e87618f commit 5a3cf14

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎README-sandbox.md

+6
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ $ mina daemon \
148148
--proof-level none \
149149
--block-producer-pubkey "$(cat keys/block-producer.key.pub)" \
150150
--run-snark-worker "$(cat keys/snark-producer.key.pub)" \
151+
--demo-mode \
151152
--seed
152153
```
153154

@@ -172,6 +173,11 @@ over again, it's important to remove it before each restart. Otherwise
172173
the daemon will try to pick up the old blockchain and will get stuck
173174
on it.
174175

176+
`--demo-mode` option tells the daemon to assume it's already synced
177+
with the network (because in this case *it is* the entire network).
178+
Without this option the daemon will exit after approximately 30 minutes
179+
of being unable to connect to other nodes.
180+
175181
If the block producer's key wasn't copied over to the wallet
176182
previously, the following error will appear:
177183

0 commit comments

Comments
 (0)
Please sign in to comment.