File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -286,6 +286,21 @@ func prepare(ctx *cli.Context) {
286
286
287
287
case ctx .GlobalIsSet (utils .DeveloperFlag .Name ):
288
288
log .Info ("Starting Geth in ephemeral dev mode..." )
289
+ log .Warn (`You are running Geth in --dev mode. Please note the following:
290
+
291
+ 1. This mode is only intended for fast, iterative development without assumptions on
292
+ security or persistence.
293
+ 2. The database is created in memory unless specified otherwise. Therefore, shutting down
294
+ your computer or losing power will wipe your entire block data and chain state for
295
+ your dev environment.
296
+ 3. A random, pre-allocated developer account will be available and unlocked as
297
+ eth.coinbase, which can be used for testing. The random dev account is temporary,
298
+ stored on a ramdisk, and will be lost if your machine is restarted.
299
+ 4. Mining is enabled by default. However, the client will only seal blocks if transactions
300
+ are pending in the mempool. The miner's minimum accepted gas price is 1.
301
+ 5. Networking is disabled; there is no listen-address, the maximum number of peers is set
302
+ to 0, and discovery is disabled.
303
+ ` )
289
304
290
305
case ! ctx .GlobalIsSet (utils .NetworkIdFlag .Name ):
291
306
log .Info ("Starting Geth on Ethereum mainnet..." )
You can’t perform that action at this time.
0 commit comments