Update dev-mode.md

This commit is contained in:
Felix Lange 2019-10-30 12:35:09 +01:00 committed by GitHub
parent de8d321f74
commit 7e722aad81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,6 @@ Starting geth in dev mode does the following:
- Turns off discovery by other nodes
- Sets the gas price to 0
- Uses the Clique PoA consensus engine with which allows blocks to be mined as-needed without excessive CPU and memory consumption
- Prevents the consensus (proof of work) difficulty from ever increasing
- Uses on-demand block generation, producing blocks when there are transactions waiting to be mined
You can specify a data directory to maintain state between runs using the `--datadir` option, otherwise databases are ephemeral and in-memory: